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'.
pull/3/head
Bruce Momjian 13 years ago
parent 6f7cddc7ae
commit 74a82bafe4
  1. 2
      doc/src/sgml/ref/psql-ref.sgml
  2. 2
      src/bin/psql/print.c

@ -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>

@ -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);

Loading…
Cancel
Save