aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2013-01-18 08:30:31 -0500
committerBruce Momjian <bruce@momjian.us>2013-01-18 08:30:31 -0500
commit74a82bafe434adbf80872ddd17f3e8c7a0eadc71 (patch)
tree5d98986bd1f20b1a622983167e2ab2f13dd529e7 /src
parent6f7cddc7ae27a42ac2af72b675b9c08138a0c439 (diff)
downloadpostgresql-74a82bafe434adbf80872ddd17f3e8c7a0eadc71.tar.gz
postgresql-74a82bafe434adbf80872ddd17f3e8c7a0eadc71.zip
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'.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/print.c2
1 files changed, 1 insertions, 1 deletions
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);