Skip to content

Commit 05f506a

Browse files
committed
Adjust some table column widths in PDF
Make some column widths more pleasing. Note: Some of this relies on the reduced body indents introduced by commit 37e06ba. Author: Noboru Saito <noborusai@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAAM3qnLyMUD79XF+SqAVwWCwURCF3hyuFY9Ki9Csbqs-zMwwnw@mail.gmail.com
1 parent 37e06ba commit 05f506a

File tree

5 files changed

+37
-5
lines changed

5 files changed

+37
-5
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,8 +2054,6 @@ MINUTE TO SECOND
20542054
<table id="datatype-datetime-time-table">
20552055
<title>Time Input</title>
20562056
<tgroup cols="2">
2057-
<colspec colname="col1" colwidth="3*"/>
2058-
<colspec colname="col2" colwidth="2*"/>
20592057
<thead>
20602058
<row>
20612059
<entry>Example</entry>
@@ -5245,8 +5243,8 @@ WHERE ...
52455243
<table id="datatype-pseudotypes-table">
52465244
<title>Pseudo-Types</title>
52475245
<tgroup cols="2">
5248-
<colspec colname="col1" colwidth="2*"/>
5249-
<colspec colname="col2" colwidth="3*"/>
5246+
<colspec colname="col1" colwidth="1*"/>
5247+
<colspec colname="col2" colwidth="2*"/>
52505248
<thead>
52515249
<row>
52525250
<entry>Name</entry>

doc/src/sgml/func/func-formatting.sgml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
<table id="functions-formatting-datetime-table">
181181
<title>Template Patterns for Date/Time Formatting</title>
182182
<tgroup cols="2">
183+
<colspec colname="col1" colwidth="1*"/>
184+
<colspec colname="col2" colwidth="3*"/>
183185
<thead>
184186
<row>
185187
<entry>Pattern</entry>
@@ -773,6 +775,8 @@
773775
<table id="functions-formatting-numeric-table">
774776
<title>Template Patterns for Numeric Formatting</title>
775777
<tgroup cols="2">
778+
<colspec colname="col1" colwidth="1*"/>
779+
<colspec colname="col2" colwidth="3*"/>
776780
<thead>
777781
<row>
778782
<entry>Pattern</entry>

doc/src/sgml/func/func-info.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,6 +2192,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
21922192
<table id="functions-info-index-column-props">
21932193
<title>Index Column Properties</title>
21942194
<tgroup cols="2">
2195+
<colspec colname="col1" colwidth="1*"/>
2196+
<colspec colname="col2" colwidth="3*"/>
21952197
<thead>
21962198
<row><entry>Name</entry><entry>Description</entry></row>
21972199
</thead>
@@ -2251,6 +2253,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
22512253
<table id="functions-info-index-props">
22522254
<title>Index Properties</title>
22532255
<tgroup cols="2">
2256+
<colspec colname="col1" colwidth="1*"/>
2257+
<colspec colname="col2" colwidth="3*"/>
22542258
<thead>
22552259
<row><entry>Name</entry><entry>Description</entry></row>
22562260
</thead>
@@ -2284,6 +2288,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
22842288
<table id="functions-info-indexam-props">
22852289
<title>Index Access Method Properties</title>
22862290
<tgroup cols="2">
2291+
<colspec colname="col1" colwidth="1*"/>
2292+
<colspec colname="col2" colwidth="3*"/>
22872293
<thead>
22882294
<row><entry>Name</entry><entry>Description</entry></row>
22892295
</thead>
@@ -2323,6 +2329,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
23232329
<table id="functions-pg-settings-flags">
23242330
<title>GUC Flags</title>
23252331
<tgroup cols="2">
2332+
<colspec colname="col1" colwidth="1*"/>
2333+
<colspec colname="col2" colwidth="3*"/>
23262334
<thead>
23272335
<row><entry>Flag</entry><entry>Description</entry></row>
23282336
</thead>
@@ -2992,6 +3000,8 @@ acl | {postgres=arwdDxtm/postgres,foo=r/postgres}
29923000
<table id="functions-pg-snapshot-parts">
29933001
<title>Snapshot Components</title>
29943002
<tgroup cols="2">
3003+
<colspec colname="col1" colwidth="1*"/>
3004+
<colspec colname="col2" colwidth="3*"/>
29953005
<thead>
29963006
<row>
29973007
<entry>Name</entry>

doc/src/sgml/func/func-matching.sgml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
10841084
<title>Regular Expression Atoms</title>
10851085

10861086
<tgroup cols="2">
1087+
<colspec colname="col1" colwidth="1*"/>
1088+
<colspec colname="col2" colwidth="3*"/>
10871089
<thead>
10881090
<row>
10891091
<entry>Atom</entry>
@@ -1166,6 +1168,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
11661168
<title>Regular Expression Quantifiers</title>
11671169

11681170
<tgroup cols="2">
1171+
<colspec colname="col1" colwidth="1*"/>
1172+
<colspec colname="col2" colwidth="3*"/>
11691173
<thead>
11701174
<row>
11711175
<entry>Quantifier</entry>
@@ -1270,6 +1274,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
12701274
<title>Regular Expression Constraints</title>
12711275

12721276
<tgroup cols="2">
1277+
<colspec colname="col1" colwidth="1*"/>
1278+
<colspec colname="col2" colwidth="3*"/>
12731279
<thead>
12741280
<row>
12751281
<entry>Constraint</entry>
@@ -1508,6 +1514,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
15081514
<title>Regular Expression Character-Entry Escapes</title>
15091515

15101516
<tgroup cols="2">
1517+
<colspec colname="col1" colwidth="1*"/>
1518+
<colspec colname="col2" colwidth="3*"/>
15111519
<thead>
15121520
<row>
15131521
<entry>Escape</entry>
@@ -1649,7 +1657,9 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
16491657
<title>Regular Expression Class-Shorthand Escapes</title>
16501658

16511659
<tgroup cols="2">
1652-
<thead>
1660+
<colspec colname="col1" colwidth="1*"/>
1661+
<colspec colname="col2" colwidth="3*"/>
1662+
<thead>
16531663
<row>
16541664
<entry>Escape</entry>
16551665
<entry>Description</entry>
@@ -1708,6 +1718,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
17081718
<title>Regular Expression Constraint Escapes</title>
17091719

17101720
<tgroup cols="2">
1721+
<colspec colname="col1" colwidth="1*"/>
1722+
<colspec colname="col2" colwidth="3*"/>
17111723
<thead>
17121724
<row>
17131725
<entry>Escape</entry>
@@ -1764,6 +1776,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
17641776
<title>Regular Expression Back References</title>
17651777

17661778
<tgroup cols="2">
1779+
<colspec colname="col1" colwidth="1*"/>
1780+
<colspec colname="col2" colwidth="3*"/>
17671781
<thead>
17681782
<row>
17691783
<entry>Escape</entry>
@@ -1845,6 +1859,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2)
18451859
<title>ARE Embedded-Option Letters</title>
18461860

18471861
<tgroup cols="2">
1862+
<colspec colname="col1" colwidth="1*"/>
1863+
<colspec colname="col2" colwidth="3*"/>
18481864
<thead>
18491865
<row>
18501866
<entry>Option</entry>

doc/src/sgml/storage.sgml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ these required items, the cluster configuration files
3939
<table tocentry="1" id="pgdata-contents-table">
4040
<title>Contents of <varname>PGDATA</varname></title>
4141
<tgroup cols="2">
42+
<colspec colname="col1" colwidth="1*"/>
43+
<colspec colname="col2" colwidth="2*"/>
4244
<thead>
4345
<row>
4446
<entry>
@@ -743,6 +745,8 @@ There are five parts to each page.
743745
<title>Overall Page Layout</title>
744746
<titleabbrev>Page Layout</titleabbrev>
745747
<tgroup cols="2">
748+
<colspec colname="col1" colwidth="1*"/>
749+
<colspec colname="col2" colwidth="2*"/>
746750
<thead>
747751
<row>
748752
<entry>

0 commit comments

Comments
 (0)