Changing database ownership

From: Mitch <mitch(at)doot(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Changing database ownership
Date: 2002-10-16 23:13:02
Message-ID: D1E1B75E-E15C-11D6-B3A7-0003938024CA@doot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there any more graceful way of changing a databases owner than :

update pg_database SET datdba = <id of user I want to own the db> where
datname='database_name'; ?

Thanks!!!

-Mitch

Without order nothing can exist - without chaos nothing can evolve.

Browse pgsql-general by date

  From Date Subject
Next Message Robert John Shepherd 2002-10-17 00:01:24 pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"
Previous Message Joseph Shraibman 2002-10-16 22:02:06 signals??