mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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:
@ -198,8 +198,8 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
|
||||
* Swap the physical files of the target and transient tables, then
|
||||
* rebuild the target's indexes and throw away the transient table.
|
||||
*/
|
||||
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, RecentXmin,
|
||||
ReadNextMultiXactId());
|
||||
finish_heap_swap(matviewOid, OIDNewHeap, false, false, true, true,
|
||||
RecentXmin, ReadNextMultiXactId());
|
||||
|
||||
RelationCacheInvalidateEntry(matviewOid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user