diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-05-26 13:57:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-05-26 13:57:04 +0000 |
commit | cfbfdc557d166ec559668d18d9769544f3c4fbbc (patch) | |
tree | b487d06389fcb3a304524c2cf0adfc769348c0ae /src/include/nodes/nodes.h | |
parent | d0b4399d81f39decccb23fa38f772b71b51bf96a (diff) | |
download | postgresql-cfbfdc557d166ec559668d18d9769544f3c4fbbc.tar.gz postgresql-cfbfdc557d166ec559668d18d9769544f3c4fbbc.zip |
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
Diffstat (limited to 'src/include/nodes/nodes.h')
-rw-r--r-- | src/include/nodes/nodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index 6c37048229a..6feedf6762c 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.155 2004/05/26 04:41:45 neilc Exp $ + * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.156 2004/05/26 13:57:02 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -266,6 +266,7 @@ typedef enum NodeTag T_ExecuteStmt, T_DeallocateStmt, T_DeclareCursorStmt, + T_AlterDbOwnerStmt, T_A_Expr = 800, T_ColumnRef, |