1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

This patch implements the following command:

ALTER TABLE <tablename> OWNER TO <username>

Only a superuser may execute the command.

--
Mark Hollomon
mhh@mindspring.com
This commit is contained in:
Bruce Momjian
2000-09-12 05:09:57 +00:00
parent 65edb54186
commit 7f171b599a
10 changed files with 292 additions and 208 deletions

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: command.h,v 1.22 2000/07/18 03:57:32 tgl Exp $
* $Id: command.h,v 1.23 2000/09/12 05:09:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -61,6 +61,8 @@ extern void AlterTableDropConstraint(const char *relationName,
extern void AlterTableCreateToastTable(const char *relationName,
bool silent);
extern void AlterTableOwner(const char *relationName, const char *newOwnerName);
/*
* LOCK
*/