@@ -135,7 +135,7 @@ static intbinary_upgrade = 0;
135135static int disable_dollar_quoting = 0 ;
136136static int dump_inserts = 0 ;
137137static int column_inserts = 0 ;
138- static int no_security_label = 0 ;
138+ static int no_security_labels = 0 ;
139139static int no_unlogged_table_data = 0 ;
140140static int serializable_deferrable = 0 ;
141141
@@ -329,7 +329,7 @@ main(int argc, char **argv)
329329{"role" ,required_argument ,NULL ,3 },
330330{"serializable-deferrable" ,no_argument ,& serializable_deferrable ,1 },
331331{"use-set-session-authorization" ,no_argument ,& use_setsessauth ,1 },
332- {"no-security-label " ,no_argument ,& no_security_label ,1 },
332+ {"no-security-labels " ,no_argument ,& no_security_labels ,1 },
333333{"no-unlogged-table-data" ,no_argument ,& no_unlogged_table_data ,1 },
334334
335335{NULL ,0 ,NULL ,0 }
@@ -651,8 +651,8 @@ main(int argc, char **argv)
651651/*
652652 * Disables security label support if server version < v9.1.x
653653 */
654- if (!no_security_label && g_fout -> remoteVersion < 90100 )
655- no_security_label = 1 ;
654+ if (!no_security_labels && g_fout -> remoteVersion < 90100 )
655+ no_security_labels = 1 ;
656656
657657/*
658658 * Start transaction-snapshot mode transaction to dump consistent data.
@@ -862,7 +862,7 @@ help(const char *progname)
862862printf (_ (" --quote-all-identifiers quote all identifiers, even if not keywords\n" ));
863863printf (_ (" --serializable-deferrable wait until the dump can run without anomalies\n" ));
864864printf (_ (" --role=ROLENAME do SET ROLE before dump\n" ));
865- printf (_ (" --no-security-label do not dump security label assignments\n" ));
865+ printf (_ (" --no-security-labels do not dump security label assignments\n" ));
866866printf (_ (" --no-unlogged-table-data do not dump unlogged table data\n" ));
867867printf (_ (" --use-set-session-authorization\n"
868868" use SET SESSION AUTHORIZATION commands instead of\n"
@@ -11535,8 +11535,8 @@ dumpSecLabel(Archive *fout, const char *target,
1153511535int i ;
1153611536PQExpBuffer query ;
1153711537
11538- /* do nothing, if --no-security-label is supplied */
11539- if (no_security_label )
11538+ /* do nothing, if --no-security-labels is supplied */
11539+ if (no_security_labels )
1154011540return ;
1154111541
1154211542/* Comments are schema not data ... except blob comments are data */
@@ -11598,8 +11598,8 @@ dumpTableSecLabel(Archive *fout, TableInfo *tbinfo, const char *reltypename)
1159811598PQExpBuffer query ;
1159911599PQExpBuffer target ;
1160011600
11601- /* do nothing, if --no-security-label is supplied */
11602- if (no_security_label )
11601+ /* do nothing, if --no-security-labels is supplied */
11602+ if (no_security_labels )
1160311603return ;
1160411604
1160511605/* SecLabel are SCHEMA not data */