diff options
author | Bruce Momjian | 2013-01-18 13:30:31 +0000 |
---|---|---|
committer | Bruce Momjian | 2013-01-18 13:30:31 +0000 |
commit | 74a82bafe434adbf80872ddd17f3e8c7a0eadc71 (patch) | |
tree | 5d98986bd1f20b1a622983167e2ab2f13dd529e7 | |
parent | 6f7cddc7ae27a42ac2af72b675b9c08138a0c439 (diff) |
psql latex fixes
Remove extra line at bottom of table for new 'latex' mode border=3.
Also update 'latex'-longtable 'tableattr' docs to say
'whitespace-separated' instead of 'space'.
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 2 | ||||
-rw-r--r-- | src/bin/psql/print.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 504a5164de9..4c99cd9951d 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -2163,7 +2163,7 @@ lo_import 152801 <para> In <literal>latex-longtable</literal> format, this controls the proportional width of each column containing a left-aligned - data type. It is specified as a space-separated list of values, + data type. It is specified as a whitespace-separated list of values, e.g. <literal>'0.2 0.2 0.6'</>. Unspecified output columns use the last specified value. </para> diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 821058d4652..f7b47ca4fff 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -1681,7 +1681,7 @@ print_latex_text(const printTableContent *cont, FILE *fout) { printTableFooter *footers = footers_with_default(cont); - if (opt_border >= 2) + if (opt_border == 2) fputs("\\hline\n", fout); fputs("\\end{tabular}\n\n\\noindent ", fout); |