@@ -75,6 +75,7 @@ static intinserts = 0;
75
75
static int no_tablespaces = 0 ;
76
76
static int use_setsessauth = 0 ;
77
77
static int no_security_labels = 0 ;
78
+ static int no_subscriptions = 0 ;
78
79
static int no_unlogged_table_data = 0 ;
79
80
static int no_role_passwords = 0 ;
80
81
static int server_version ;
@@ -129,6 +130,7 @@ main(int argc, char *argv[])
129
130
{"role" ,required_argument ,NULL ,3 },
130
131
{"use-set-session-authorization" ,no_argument ,& use_setsessauth ,1 },
131
132
{"no-security-labels" ,no_argument ,& no_security_labels ,1 },
133
+ {"no-subscriptions" ,no_argument ,& no_subscriptions ,1 },
132
134
{"no-sync" ,no_argument ,NULL ,4 },
133
135
{"no-unlogged-table-data" ,no_argument ,& no_unlogged_table_data ,1 },
134
136
{"no-role-passwords" ,no_argument ,& no_role_passwords ,1 },
@@ -385,6 +387,8 @@ main(int argc, char *argv[])
385
387
appendPQExpBufferStr (pgdumpopts ," --use-set-session-authorization" );
386
388
if (no_security_labels )
387
389
appendPQExpBufferStr (pgdumpopts ," --no-security-labels" );
390
+ if (no_subscriptions )
391
+ appendPQExpBufferStr (pgdumpopts ," --no-subscriptions" );
388
392
if (no_unlogged_table_data )
389
393
appendPQExpBufferStr (pgdumpopts ," --no-unlogged-table-data" );
390
394
@@ -591,6 +595,7 @@ help(void)
591
595
printf (_ (" --if-exists use IF EXISTS when dropping objects\n" ));
592
596
printf (_ (" --inserts dump data as INSERT commands, rather than COPY\n" ));
593
597
printf (_ (" --no-security-labels do not dump security label assignments\n" ));
598
+ printf (_ (" --no-subscriptions do not dump subscriptions\n" ));
594
599
printf (_ (" --no-sync do not wait for changes to be written safely to disk\n" ));
595
600
printf (_ (" --no-tablespaces do not dump tablespace assignments\n" ));
596
601
printf (_ (" --no-unlogged-table-data do not dump unlogged table data\n" ));