This patch implement the TODO [ALTER DATABASE foo OWNER TO bar].
authorBruce Momjian <bruce@momjian.us>
Wed, 26 May 2004 13:57:04 +0000 (13:57 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 26 May 2004 13:57:04 +0000 (13:57 +0000)
commitcfbfdc557d166ec559668d18d9769544f3c4fbbc
treeb487d06389fcb3a304524c2cf0adfc769348c0ae
parentd0b4399d81f39decccb23fa38f772b71b51bf96a
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 E
CPG. Doc updates are attached too. Only superusers can change the owner
of the database. New owners don't need any aditional
privileges.

Euler Taveira de Oliveira
doc/src/sgml/ref/alter_database.sgml
src/backend/commands/dbcommands.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/bin/psql/tab-complete.c
src/include/commands/dbcommands.h
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h
src/interfaces/ecpg/preproc/preproc.y