summaryrefslogtreecommitdiff
path: root/doc/src/sgml/errcodes.sgml
diff options
context:
space:
mode:
authorTom Lane2020-05-04 20:16:42 +0000
committerTom Lane2020-05-04 20:16:48 +0000
commit5545b69ae65f27ba1f4ceaf24486e98c186e9412 (patch)
treeedb7d7c02190d8373f766dcbf52b2b249209beae /doc/src/sgml/errcodes.sgml
parent20c6905dee43a8888090674cb3db9f953ae7f646 (diff)
Doc: improve PDF presentation of some tables by adjusting column widths.
The PDF toolchain defaults to laying out all columns of a table with equal widths, in contrast to the HTML rendering which automatically varies the column widths to fit the data. In many places, this results in very badly laid-out tables, with lots of useless whitespace in some places and text that overruns its cell in other places. For tables that have reasonably static content, we can improve matters by adding <colspec> entries to hand-assign the column widths. This commit does that for a few of the tables that were worst off; it eliminates close to 200 "contents ... exceed the available area" warnings in an A4 PDF build. I also forced align="left" in these tables, overriding the PDF toolchain's default which is evidently "justify". (The HTML toolchain seems to default to that already.) Anyplace where things are tight enough that we need to worry about this, forced justification tends to look truly awful.
Diffstat (limited to 'doc/src/sgml/errcodes.sgml')
-rw-r--r--doc/src/sgml/errcodes.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/errcodes.sgml b/doc/src/sgml/errcodes.sgml
index 6fd16f643ea..f0ef0500339 100644
--- a/doc/src/sgml/errcodes.sgml
+++ b/doc/src/sgml/errcodes.sgml
@@ -66,8 +66,8 @@
<title><productname>PostgreSQL</productname> Error Codes</title>
<tgroup cols="2">
- <colspec colnum="1" colname="errorcode"/>
- <colspec colnum="2" colname="condname"/>
+ <colspec colnum="1" colname="errorcode" align="left" colwidth="1*"/>
+ <colspec colnum="2" colname="condname" align="left" colwidth="8*"/>
<spanspec namest="errorcode" nameend="condname" spanname="span12"/>
<thead>