Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74a82ba

Browse files
committed
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'.
1 parent 6f7cddc commit 74a82ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/sgml/ref/psql-ref.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ lo_import 152801
21632163
<para>
21642164
In <literal>latex-longtable</literal> format, this controls
21652165
the proportional width of each column containing a left-aligned
2166-
data type. It is specified as a space-separated list of values,
2166+
data type. It is specified as a whitespace-separated list of values,
21672167
e.g. <literal>'0.2 0.2 0.6'</>. Unspecified output columns
21682168
use the last specified value.
21692169
</para>

src/bin/psql/print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ print_latex_text(const printTableContent *cont, FILE *fout)
16811681
{
16821682
printTableFooter *footers = footers_with_default(cont);
16831683

1684-
if (opt_border >= 2)
1684+
if (opt_border == 2)
16851685
fputs("\\hline\n", fout);
16861686

16871687
fputs("\\end{tabular}\n\n\\noindent ", fout);

0 commit comments

Comments
 (0)