@@ -75,6 +75,7 @@ static intinserts = 0;
7575static int no_tablespaces = 0 ;
7676static int use_setsessauth = 0 ;
7777static int no_security_labels = 0 ;
78+ static int no_subscriptions = 0 ;
7879static int no_unlogged_table_data = 0 ;
7980static int no_role_passwords = 0 ;
8081static int server_version ;
@@ -129,6 +130,7 @@ main(int argc, char *argv[])
129130{"role" ,required_argument ,NULL ,3 },
130131{"use-set-session-authorization" ,no_argument ,& use_setsessauth ,1 },
131132{"no-security-labels" ,no_argument ,& no_security_labels ,1 },
133+ {"no-subscriptions" ,no_argument ,& no_subscriptions ,1 },
132134{"no-sync" ,no_argument ,NULL ,4 },
133135{"no-unlogged-table-data" ,no_argument ,& no_unlogged_table_data ,1 },
134136{"no-role-passwords" ,no_argument ,& no_role_passwords ,1 },
@@ -385,6 +387,8 @@ main(int argc, char *argv[])
385387appendPQExpBufferStr (pgdumpopts ," --use-set-session-authorization" );
386388if (no_security_labels )
387389appendPQExpBufferStr (pgdumpopts ," --no-security-labels" );
390+ if (no_subscriptions )
391+ appendPQExpBufferStr (pgdumpopts ," --no-subscriptions" );
388392if (no_unlogged_table_data )
389393appendPQExpBufferStr (pgdumpopts ," --no-unlogged-table-data" );
390394
@@ -591,6 +595,7 @@ help(void)
591595printf (_ (" --if-exists use IF EXISTS when dropping objects\n" ));
592596printf (_ (" --inserts dump data as INSERT commands, rather than COPY\n" ));
593597printf (_ (" --no-security-labels do not dump security label assignments\n" ));
598+ printf (_ (" --no-subscriptions do not dump subscriptions\n" ));
594599printf (_ (" --no-sync do not wait for changes to be written safely to disk\n" ));
595600printf (_ (" --no-tablespaces do not dump tablespace assignments\n" ));
596601printf (_ (" --no-unlogged-table-data do not dump unlogged table data\n" ));