summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAmit Kapila2021-04-06 02:56:31 +0000
committerAmit Kapila2021-04-06 02:56:31 +0000
commit531737ddad214cb8a675953208e2f3a6b1be122b (patch)
tree229abc03c0e417b98614c52b16eca150be2b767e /src/include
parent6d41dd045ada28ee14182112fc4cf50fb3879d28 (diff)
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')
-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 */