alter database foo owner to bar

Started by Euler Taveira de Oliveiraover 22 years ago2 messagespatches
Jump to latest

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

Attachments:

alter-db.patchapplication/octet-stream; name=alter-db.patchDownload+121-7
#2Bruce Momjian
bruce@momjian.us
In reply to: Euler Taveira de Oliveira (#1)
Re: alter database foo owner to bar

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@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