diff options
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index dd59aa116c2..7f91ff9fcef 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -2407,12 +2407,12 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet) else if (strcmp(param, "footer") == 0) { if (value) - popt->default_footer = ParseVariableBool(value); + popt->topt.default_footer = ParseVariableBool(value); else - popt->default_footer = !popt->default_footer; + popt->topt.default_footer = !popt->topt.default_footer; if (!quiet) { - if (popt->default_footer) + if (popt->topt.default_footer) puts(_("Default footer is on.")); else puts(_("Default footer is off.")); |