pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor function parse_output_parameters.
Date: Tue, 06 Apr 2021 03:08:54 +0000
Message-ID: <E1lTc5G-0001q8-7b@gemulon.postgresql.org> (raw)

Refactor function parse_output_parameters.

Instead of using multiple parameters in parse_ouput_parameters function
signature, use the struct PGOutputData that encapsulates all pgoutput
options. It will be useful for future work where we need to add other
options in pgoutput.

Author: Euler Taveira
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CADK3HHJ-+9SO7KuRLH=9Wa1rAo60Yreq1GFNkH_kd0=CdaWM+A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/531737ddad214cb8a675953208e2f3a6b1be122b

Modified Files
--------------
src/backend/replication/pgoutput/pgoutput.c | 24 +++++++++---------------
src/include/replication/pgoutput.h          |  1 +
2 files changed, 10 insertions(+), 15 deletions(-)



Message-ID: <E1lTc5G-0001q8-7b@gemulon.postgresql.org>
Permalink:  ../E1lTc5G-0001q8-7b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lTc5G-0001q8-7b@gemulon.postgresql.org

 · 

reply

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: akapila@postgresql.org
  Subject: Re: pgsql: Refactor function parse_output_parameters.
  In-Reply-To: <E1lTc5G-0001q8-7b@gemulon.postgresql.org>
  References: <E1lTc5G-0001q8-7b@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