1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

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
This commit is contained in:
Amit Kapila
2021-04-06 08:26:31 +05:30
parent 6d41dd045a
commit 531737ddad
2 changed files with 10 additions and 15 deletions

View File

@@ -25,6 +25,7 @@ typedef struct PGOutputData
List *publication_names;
List *publications;
bool binary;
bool streaming;
} PGOutputData;
#endif /* PGOUTPUT_H */