Change a database owner

From: Cédric Mallet <malletc3(at)cti(dot)ecp(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: Change a database owner
Date: 2002-05-29 16:32:59
Message-ID: 39145428965.20020529183259@cti.ecp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I would like to know how to change the owner of a database ?
I have seen that I could do something like :

UPDATE pg_database SET datdba=99 WHERE datname=mydatabase;

but how do I know the right datdba ?

Thanx

Ced

Browse pgsql-novice by date

  From Date Subject
Next Message nimeshb 2002-05-29 17:00:59 ecpg not found
Previous Message Ron Johnson 2002-05-29 14:33:21 Re: Fantasy Football complex select