alter database foo owner to bar

Lists: pgsql-patches
From: Euler Taveira de Oliveira <euler(at)ufgnet(dot)ufg(dot)br>
To: pgsql-patches(at)postgresql(dot)org
Subject: alter database foo owner to bar
Date: 2004-03-31 23:11:24
Message-ID: 20040331201124.004a0088.euler@ufgnet.ufg.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Hi all,

This patch implement the TODO [ALTER DATABASE foo OWNER TO bar].
It was necessary to touch in grammar and create a new node to make home to the new syntax. The command is also supported in ECPG. Doc updates are attached too. Only superusers can change the owner of the database. New owners don't need any aditional privileges.
Please review it and apply it.

Regards,

--
Euler Taveira de Oliveira
euler (at) ufgnet.ufg.br
Desenvolvedor Web e Administrador de Sistemas
UFGNet - Universidade Federal de Goiás

Attachment Content-Type Size
alter-db.patch application/octet-stream 10.2 KB

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: euler(at)ufgnet(dot)ufg(dot)br
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: alter database foo owner to bar
Date: 2004-05-26 13:56:07
Message-ID: 200405261356.i4QDu7j00180@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Euler Taveira de Oliveira wrote:
> Hi all,
>
> This patch implement the TODO [ALTER DATABASE foo OWNER TO bar].
> It was necessary to touch in grammar and create a new node to make home to the new syntax. The command is also supported in ECPG. Doc updates are attached too. Only superusers can change the owner of the database. New owners don't need any aditional privileges.
> Please review it and apply it.
>
> Regards,
>
> --
> Euler Taveira de Oliveira
> euler (at) ufgnet.ufg.br
> Desenvolvedor Web e Administrador de Sistemas
> UFGNet - Universidade Federal de Goi?s

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073