@@ -135,7 +135,7 @@ static int binary_upgrade = 0;
135
135
static int disable_dollar_quoting = 0 ;
136
136
static int dump_inserts = 0 ;
137
137
static int column_inserts = 0 ;
138
- static int no_security_label = 0 ;
138
+ static int no_security_labels = 0 ;
139
139
static int no_unlogged_table_data = 0 ;
140
140
static int serializable_deferrable = 0 ;
141
141
@@ -329,7 +329,7 @@ main(int argc, char **argv)
329
329
{"role" , required_argument , NULL , 3 },
330
330
{"serializable-deferrable" , no_argument , & serializable_deferrable , 1 },
331
331
{"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 },
333
333
{"no-unlogged-table-data" , no_argument , & no_unlogged_table_data , 1 },
334
334
335
335
{NULL , 0 , NULL , 0 }
@@ -651,8 +651,8 @@ main(int argc, char **argv)
651
651
/*
652
652
* Disables security label support if server version < v9.1.x
653
653
*/
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 ;
656
656
657
657
/*
658
658
* Start transaction-snapshot mode transaction to dump consistent data.
@@ -862,7 +862,7 @@ help(const char *progname)
862
862
printf (_ (" --quote-all-identifiers quote all identifiers, even if not keywords\n" ));
863
863
printf (_ (" --serializable-deferrable wait until the dump can run without anomalies\n" ));
864
864
printf (_ (" --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" ));
866
866
printf (_ (" --no-unlogged-table-data do not dump unlogged table data\n" ));
867
867
printf (_ (" --use-set-session-authorization\n"
868
868
" use SET SESSION AUTHORIZATION commands instead of\n"
@@ -11535,8 +11535,8 @@ dumpSecLabel(Archive *fout, const char *target,
11535
11535
int i ;
11536
11536
PQExpBuffer query ;
11537
11537
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 )
11540
11540
return ;
11541
11541
11542
11542
/* Comments are schema not data ... except blob comments are data */
@@ -11598,8 +11598,8 @@ dumpTableSecLabel(Archive *fout, TableInfo *tbinfo, const char *reltypename)
11598
11598
PQExpBuffer query ;
11599
11599
PQExpBuffer target ;
11600
11600
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 )
11603
11603
return ;
11604
11604
11605
11605
/* SecLabel are SCHEMA not data */
0 commit comments