diff options
Diffstat (limited to 'src/backend/commands/subscriptioncmds.c')
-rw-r--r-- | src/backend/commands/subscriptioncmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 5de999928f3..3b708075653 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -501,7 +501,7 @@ DropSubscription(DropSubscriptionStmt *stmt) EventTriggerSQLDropAddObject(&myself, true, true); /* Remove the tuple from catalog. */ - simple_heap_delete(rel, &tup->t_self); + CatalogTupleDelete(rel, &tup->t_self); ReleaseSysCache(tup); |