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

alter database foo owner to bar

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


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

Attachment: alter-db.patch
Description: application/octet-stream (10.2 KB)


pgsql-patches by date

Next:From: Claudio NatoliDate: 2004-04-01 03:05:31
Subject: MSFT compiler fixes + misc
Previous:From: Tom LaneDate: 2004-03-31 21:36:12
Subject: Re: Question about rtrees (overleft replacing left in nodes)

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