1 /*-------------------------------------------------------------------------
4 * prototypes for commands/alter.c
7 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/commands/alter.h
12 *-------------------------------------------------------------------------
17 #include "catalog/dependency.h"
18 #include "catalog/objectaddress.h"
19 #include "nodes/parsenodes.h"
20 #include "utils/relcache.h"
22 extern ObjectAddress
ExecRenameStmt(RenameStmt
*stmt
);
24 extern ObjectAddress
ExecAlterObjectDependsStmt(AlterObjectDependsStmt
*stmt
,
25 ObjectAddress
*refAddress
);
26 extern ObjectAddress
ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt
*stmt
,
27 ObjectAddress
*oldSchemaAddr
);
28 extern Oid
AlterObjectNamespace_oid(Oid classId
, Oid objid
, Oid nspOid
,
29 ObjectAddresses
*objsMoved
);
31 extern ObjectAddress
ExecAlterOwnerStmt(AlterOwnerStmt
*stmt
);
32 extern void AlterObjectOwner_internal(Relation catalog
, Oid objectId
,