Thread: alter database foo owner to bar

alter database foo owner to bar

From
Euler Taveira de Oliveira
Date:
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
supportedin ECPG. Doc updates are attached too. Only superusers can change the owner of the database. New owners don't
needany 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

Re: alter database foo owner to bar

From
Bruce Momjian
Date:
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
supportedin ECPG. Doc updates are attached too. Only superusers can change the owner of the database. New owners don't
needany 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@postgresql.org)

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