From: | "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Set new owner on cloned database |
Date: | 2010-12-08 18:40:29 |
Message-ID: | 52815.216.185.71.25.1291833629.squirrel@webmail.harte-lyne.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I am testing a Rails deployment and wish to copy a database
assigning it an new owner. I have tried this:
createdb --owner=hll_theheart_db_devl
--template=hll_th_deploytest_prod hll_theheart_devl
While this indeed sets the database owner to hll_theheart_db_devl
everything else, schema, tables whatever, remains owned by the
original owner. Is there no way to change the owner everywhere in
the cloned database using cretedb? Or am I constrained to do a dump
all and restore?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB(at)Harte-Lyne(dot)ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
From | Date | Subject | |
---|---|---|---|
Next Message | Igor Neyman | 2010-12-08 19:19:26 | Re: How to obtain the maximum value of a date, between 3 tables... |
Previous Message | bricklen | 2010-12-08 17:52:04 | Re: How to obtain the maximum value of a date, between 3 tables... |