Split the SetSubscriptionRelState function into two
Peter Eisentraut <peter_e@gmx.net>
Split the SetSubscriptionRelState function into two We don't actually need the insert-or-update logic, so it's clearer to have separate functions for the inserting and updating. Author: Petr Jelinek <petr.jelinek@2ndquadrant.com> Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/pg_subscription.c | modified | +72 −57 |
| src/backend/commands/subscriptioncmds.c | modified | +4 −4 |
| src/backend/replication/logical/tablesync.c | modified | +16 −18 |
| src/include/catalog/pg_subscription_rel.h | modified | +4 −2 |