Refactor function parse_output_parameters.
authorAmit Kapila <akapila@postgresql.org>
Tue, 6 Apr 2021 02:56:31 +0000 (08:26 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 6 Apr 2021 02:56:31 +0000 (08:26 +0530)
commit531737ddad214cb8a675953208e2f3a6b1be122b
tree229abc03c0e417b98614c52b16eca150be2b767e
parent6d41dd045ada28ee14182112fc4cf50fb3879d28
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
src/backend/replication/pgoutput/pgoutput.c
src/include/replication/pgoutput.h