mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Record dependencies on owners for logical replication objects
This was forgotten in 665d1fad99 and
caused the whole buildfarm to become red for a little while.
Author: Petr Jelínek
Also fix a typo in a nearby error message.
This commit is contained in:
@@ -218,6 +218,8 @@ CreatePublication(CreatePublicationStmt *stmt)
|
||||
CatalogUpdateIndexes(rel, tup);
|
||||
heap_freetuple(tup);
|
||||
|
||||
recordDependencyOnOwner(PublicationRelationId, puboid, GetUserId());
|
||||
|
||||
ObjectAddressSet(myself, PublicationRelationId, puboid);
|
||||
|
||||
/* Make the changes visible. */
|
||||
|
||||
Reference in New Issue
Block a user