pgsql: Refactor function parse_output_parameters.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Refactor function parse_output_parameters.
Date: 2021-04-06 03:08:54
Message-ID: E1lTc5G-0001q8-7b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-04-06 03:25:30 pgsql: Allow pgoutput to send logical decoding messages.
Previous Message Tom Lane 2021-04-06 01:43:38 Re: pgsql: Refactor all TAP test suites doing connection checks