Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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



pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group