From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Split the SetSubscriptionRelState function into two
Date: Fri, 06 Apr 2018 14:03:50 +0000
Message-ID: <E1f4Ry2-0001xr-9I@gemulon.postgresql.org> (raw)
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>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bcf79b5bb648d30696406034a61ce0ca3dcb0dea
Modified Files
--------------
src/backend/catalog/pg_subscription.c | 129 ++++++++++++++++------------
src/backend/commands/subscriptioncmds.c | 8 +-
src/backend/replication/logical/tablesync.c | 34 ++++----
src/include/catalog/pg_subscription_rel.h | 6 +-
4 files changed, 96 insertions(+), 81 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Split the SetSubscriptionRelState function into two
In-Reply-To: <E1f4Ry2-0001xr-9I@gemulon.postgresql.org>
References: <E1f4Ry2-0001xr-9I@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox