aboutsummaryrefslogtreecommitdiff
path: root/src/include/replication/pgoutput.h
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-04-06 08:26:31 +0530
committerAmit Kapila <akapila@postgresql.org>2021-04-06 08:26:31 +0530
commit531737ddad214cb8a675953208e2f3a6b1be122b (patch)
tree229abc03c0e417b98614c52b16eca150be2b767e /src/include/replication/pgoutput.h
parent6d41dd045ada28ee14182112fc4cf50fb3879d28 (diff)
downloadpostgresql-531737ddad214cb8a675953208e2f3a6b1be122b.tar.gz
postgresql-531737ddad214cb8a675953208e2f3a6b1be122b.zip
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
Diffstat (limited to 'src/include/replication/pgoutput.h')
-rw-r--r--src/include/replication/pgoutput.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/replication/pgoutput.h b/src/include/replication/pgoutput.h
index 4ba052fe38a..bb383d523ee 100644
--- a/src/include/replication/pgoutput.h
+++ b/src/include/replication/pgoutput.h
@@ -25,6 +25,7 @@ typedef struct PGOutputData
List *publication_names;
List *publications;
bool binary;
+ bool streaming;
} PGOutputData;
#endif /* PGOUTPUT_H */