diff options
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 59f8b035511..740884ff3d8 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -2164,6 +2164,9 @@ _align2string(enum printFormat in) case PRINT_LATEX: return "latex"; break; + case PRINT_LATEX_LONGTABLE: + return "latex-longtable"; + break; case PRINT_TROFF_MS: return "troff-ms"; break; @@ -2197,6 +2200,8 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet) popt->topt.format = PRINT_HTML; else if (pg_strncasecmp("latex", value, vallen) == 0) popt->topt.format = PRINT_LATEX; + else if (pg_strncasecmp("latex-longtable", value, vallen) == 0) + popt->topt.format = PRINT_LATEX_LONGTABLE; else if (pg_strncasecmp("troff-ms", value, vallen) == 0) popt->topt.format = PRINT_TROFF_MS; else |