]> granicus.if.org Git - postgresql/commit
Split the SetSubscriptionRelState function into two
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 6 Apr 2018 14:00:26 +0000 (10:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 6 Apr 2018 14:00:26 +0000 (10:00 -0400)
commitbcf79b5bb648d30696406034a61ce0ca3dcb0dea
treecfe0ee02494f82e80cdfd310d70a2b28e4c0d90a
parentc25304a945467f6edfcca10d7931b913776d066b
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>
src/backend/catalog/pg_subscription.c
src/backend/commands/subscriptioncmds.c
src/backend/replication/logical/tablesync.c
src/include/catalog/pg_subscription_rel.h