mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
This commit is contained in:
@ -1578,13 +1578,13 @@ DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel)
|
||||
PG_END_TRY();
|
||||
|
||||
/*
|
||||
* Tell the cumulative stats system that the subscription is getting dropped.
|
||||
* We can safely report dropping the subscription statistics here if the
|
||||
* subscription is associated with a replication slot since we cannot run
|
||||
* DROP SUBSCRIPTION inside a transaction block. Subscription statistics
|
||||
* will be removed later by (auto)vacuum either if it's not associated
|
||||
* with a replication slot or if the message for dropping the subscription
|
||||
* gets lost.
|
||||
* Tell the cumulative stats system that the subscription is getting
|
||||
* dropped. We can safely report dropping the subscription statistics here
|
||||
* if the subscription is associated with a replication slot since we
|
||||
* cannot run DROP SUBSCRIPTION inside a transaction block. Subscription
|
||||
* statistics will be removed later by (auto)vacuum either if it's not
|
||||
* associated with a replication slot or if the message for dropping the
|
||||
* subscription gets lost.
|
||||
*/
|
||||
if (slotname)
|
||||
pgstat_drop_subscription(subid);
|
||||
|
Reference in New Issue
Block a user