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: (view raw, whole thread or download thread mbox)
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 ?



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-2017 The PostgreSQL Global Development Group