PostgreSQL Source Code  git master
alter.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * alter.h
4  * prototypes for commands/alter.c
5  *
6  *
7  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/commands/alter.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef ALTER_H
15 #define ALTER_H
16 
17 #include "catalog/dependency.h"
18 #include "catalog/objectaddress.h"
19 #include "nodes/parsenodes.h"
20 
22 
24  ObjectAddress *refAddress);
26  ObjectAddress *oldSchemaAddr);
27 extern Oid AlterObjectNamespace_oid(Oid classId, Oid objid, Oid nspOid,
28  ObjectAddresses *objsMoved);
29 
31 extern void AlterObjectOwner_internal(Oid classId, Oid objectId,
32  Oid new_ownerId);
33 
34 #endif /* ALTER_H */
ObjectAddress ExecAlterOwnerStmt(AlterOwnerStmt *stmt)
Definition: alter.c:825
ObjectAddress ExecAlterObjectDependsStmt(AlterObjectDependsStmt *stmt, ObjectAddress *refAddress)
Definition: alter.c:456
ObjectAddress ExecRenameStmt(RenameStmt *stmt)
Definition: alter.c:356
void AlterObjectOwner_internal(Oid classId, Oid objectId, Oid new_ownerId)
Definition: alter.c:916
ObjectAddress ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt, ObjectAddress *oldSchemaAddr)
Definition: alter.c:520
Oid AlterObjectNamespace_oid(Oid classId, Oid objid, Oid nspOid, ObjectAddresses *objsMoved)
Definition: alter.c:613
#define stmt
Definition: indent_codes.h:59
unsigned int Oid
Definition: postgres_ext.h:31