[openstreetmap/openstreetmap-website] promote yourself to superuser (#2358)

Brian DeRocher notifications at github.com
Sun Aug 25 16:35:46 UTC 2019


I found a way around this issue.  It's to use a template database.  PG 9.5 add the IS_TEMPLATE option to CREATE DATABASE.  If true, anyone with CREATEDB privilege can clone it.  If the template has the btree_gist extension, the new database will also have it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2358#issuecomment-524644074
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190825/23958cd3/attachment.html>


More information about the rails-dev mailing list