Header And Logo

PostgreSQL
| The world's most advanced open source database.

alter.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * alter.h
00004  *    prototypes for commands/alter.c
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/commands/alter.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef ALTER_H
00015 #define ALTER_H
00016 
00017 #include "catalog/dependency.h"
00018 #include "nodes/parsenodes.h"
00019 #include "utils/relcache.h"
00020 
00021 extern Oid ExecRenameStmt(RenameStmt *stmt);
00022 
00023 extern Oid ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt);
00024 extern Oid AlterObjectNamespace_oid(Oid classId, Oid objid, Oid nspOid,
00025                          ObjectAddresses *objsMoved);
00026 
00027 extern Oid ExecAlterOwnerStmt(AlterOwnerStmt *stmt);
00028 extern void AlterObjectOwner_internal(Relation catalog, Oid objectId,
00029                           Oid new_ownerId);
00030 
00031 #endif   /* ALTER_H */