mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Extend object-access hook machinery to support post-alter events.
This also slightly widens the scope of what we support in terms of post-create events. KaiGai Kohei, with a few changes, mostly to the comments, by me
This commit is contained in:
@@ -23,13 +23,14 @@ extern void cluster_rel(Oid tableOid, Oid indexOid, bool recheck,
|
||||
bool verbose, int freeze_min_age, int freeze_table_age);
|
||||
extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid,
|
||||
bool recheck, LOCKMODE lockmode);
|
||||
extern void mark_index_clustered(Relation rel, Oid indexOid);
|
||||
extern void mark_index_clustered(Relation rel, Oid indexOid, bool is_internal);
|
||||
|
||||
extern Oid make_new_heap(Oid OIDOldHeap, Oid NewTableSpace);
|
||||
extern void finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
|
||||
bool is_system_catalog,
|
||||
bool swap_toast_by_content,
|
||||
bool check_constraints,
|
||||
bool is_internal,
|
||||
TransactionId frozenXid,
|
||||
MultiXactId frozenMulti);
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ extern Oid RenameConstraint(RenameStmt *stmt);
|
||||
extern Oid RenameRelation(RenameStmt *stmt);
|
||||
|
||||
extern void RenameRelationInternal(Oid myrelid,
|
||||
const char *newrelname);
|
||||
const char *newrelname, bool is_internal);
|
||||
|
||||
extern void find_composite_type_dependencies(Oid typeOid,
|
||||
Relation origRelation,
|
||||
|
||||
Reference in New Issue
Block a user