31
31
<table id="datatype-table">
32
32
<title>Data Types</title>
33
33
<tgroup cols="3">
34
+ <colspec colname="col1" colwidth="2*"/>
35
+ <colspec colname="col2" colwidth="1*"/>
36
+ <colspec colname="col3" colwidth="2*"/>
34
37
<thead>
35
38
<row>
36
39
<entry>Name</entry>
349
352
<table id="datatype-numeric-table">
350
353
<title>Numeric Types</title>
351
354
<tgroup cols="4">
355
+ <colspec colname="col1" colwidth="2*"/>
356
+ <colspec colname="col2" colwidth="1*"/>
357
+ <colspec colname="col3" colwidth="2*"/>
358
+ <colspec colname="col4" colwidth="2*"/>
352
359
<thead>
353
360
<row>
354
361
<entry>Name</entry>
@@ -965,6 +972,10 @@ ALTER SEQUENCE <replaceable class="parameter">tablename</replaceable>_<replaceab
965
972
<table id="datatype-money-table">
966
973
<title>Monetary Types</title>
967
974
<tgroup cols="4">
975
+ <colspec colname="col1" colwidth="2*"/>
976
+ <colspec colname="col2" colwidth="1*"/>
977
+ <colspec colname="col3" colwidth="2*"/>
978
+ <colspec colname="col4" colwidth="2*"/>
968
979
<thead>
969
980
<row>
970
981
<entry>Name</entry>
@@ -1299,6 +1310,9 @@ SELECT b, char_length(b) FROM test2;
1299
1310
<table id="datatype-binary-table">
1300
1311
<title>Binary Data Types</title>
1301
1312
<tgroup cols="3">
1313
+ <colspec colname="col1" colwidth="1*"/>
1314
+ <colspec colname="col2" colwidth="3*"/>
1315
+ <colspec colname="col3" colwidth="2*"/>
1302
1316
<thead>
1303
1317
<row>
1304
1318
<entry>Name</entry>
@@ -1415,6 +1429,11 @@ SELECT '\xDEADBEEF';
1415
1429
<table id="datatype-binary-sqlesc">
1416
1430
<title><type>bytea</type> Literal Escaped Octets</title>
1417
1431
<tgroup cols="5">
1432
+ <colspec colname="col1" colwidth="1*"/>
1433
+ <colspec colname="col2" colwidth="1*"/>
1434
+ <colspec colname="col3" colwidth="1*"/>
1435
+ <colspec colname="col4" colwidth="1.25*"/>
1436
+ <colspec colname="col5" colwidth="1*"/>
1418
1437
<thead>
1419
1438
<row>
1420
1439
<entry>Decimal Octet Value</entry>
@@ -1430,31 +1449,31 @@ SELECT '\xDEADBEEF';
1430
1449
<entry>0</entry>
1431
1450
<entry>zero octet</entry>
1432
1451
<entry><literal>'\000'</literal></entry>
1433
- <entry><literal>SELECT '\000'::bytea; </literal></entry>
1452
+ <entry><literal>'\000'::bytea</literal></entry>
1434
1453
<entry><literal>\x00</literal></entry>
1435
1454
</row>
1436
1455
1437
1456
<row>
1438
1457
<entry>39</entry>
1439
1458
<entry>single quote</entry>
1440
1459
<entry><literal>''''</literal> or <literal>'\047'</literal></entry>
1441
- <entry><literal>SELECT ''''::bytea; </literal></entry>
1460
+ <entry><literal>''''::bytea</literal></entry>
1442
1461
<entry><literal>\x27</literal></entry>
1443
1462
</row>
1444
1463
1445
1464
<row>
1446
1465
<entry>92</entry>
1447
1466
<entry>backslash</entry>
1448
1467
<entry><literal>'\\'</literal> or <literal>'\134'</literal></entry>
1449
- <entry><literal>SELECT '\\'::bytea; </literal></entry>
1468
+ <entry><literal>'\\'::bytea</literal></entry>
1450
1469
<entry><literal>\x5c</literal></entry>
1451
1470
</row>
1452
1471
1453
1472
<row>
1454
1473
<entry>0 to 31 and 127 to 255</entry>
1455
1474
<entry><quote>non-printable</quote> octets</entry>
1456
1475
<entry><literal>'\<replaceable>xxx'</replaceable></literal> (octal value)</entry>
1457
- <entry><literal>SELECT '\001'::bytea; </literal></entry>
1476
+ <entry><literal>'\001'::bytea</literal></entry>
1458
1477
<entry><literal>\x01</literal></entry>
1459
1478
</row>
1460
1479
@@ -1514,6 +1533,11 @@ SELECT 'abc \153\154\155 \052\251\124'::bytea;
1514
1533
<table id="datatype-binary-resesc">
1515
1534
<title><type>bytea</type> Output Escaped Octets</title>
1516
1535
<tgroup cols="5">
1536
+ <colspec colname="col1" colwidth="1*"/>
1537
+ <colspec colname="col2" colwidth="1*"/>
1538
+ <colspec colname="col3" colwidth="1*"/>
1539
+ <colspec colname="col4" colwidth="1.25*"/>
1540
+ <colspec colname="col5" colwidth="1*"/>
1517
1541
<thead>
1518
1542
<row>
1519
1543
<entry>Decimal Octet Value</entry>
@@ -1530,23 +1554,23 @@ SELECT 'abc \153\154\155 \052\251\124'::bytea;
1530
1554
<entry>92</entry>
1531
1555
<entry>backslash</entry>
1532
1556
<entry><literal>\\</literal></entry>
1533
- <entry><literal>SELECT '\134'::bytea; </literal></entry>
1557
+ <entry><literal>'\134'::bytea</literal></entry>
1534
1558
<entry><literal>\\</literal></entry>
1535
1559
</row>
1536
1560
1537
1561
<row>
1538
1562
<entry>0 to 31 and 127 to 255</entry>
1539
1563
<entry><quote>non-printable</quote> octets</entry>
1540
1564
<entry><literal>\<replaceable>xxx</replaceable></literal> (octal value)</entry>
1541
- <entry><literal>SELECT '\001'::bytea; </literal></entry>
1565
+ <entry><literal>'\001'::bytea</literal></entry>
1542
1566
<entry><literal>\001</literal></entry>
1543
1567
</row>
1544
1568
1545
1569
<row>
1546
1570
<entry>32 to 126</entry>
1547
1571
<entry><quote>printable</quote> octets</entry>
1548
1572
<entry>client character set representation</entry>
1549
- <entry><literal>SELECT '\176'::bytea; </literal></entry>
1573
+ <entry><literal>'\176'::bytea</literal></entry>
1550
1574
<entry><literal>~</literal></entry>
1551
1575
</row>
1552
1576
@@ -1789,6 +1813,8 @@ MINUTE TO SECOND
1789
1813
<table id="datatype-datetime-date-table">
1790
1814
<title>Date Input</title>
1791
1815
<tgroup cols="2">
1816
+ <colspec colname="col1" colwidth="1*"/>
1817
+ <colspec colname="col2" colwidth="2*"/>
1792
1818
<thead>
1793
1819
<row>
1794
1820
<entry>Example</entry>
@@ -1910,6 +1936,8 @@ MINUTE TO SECOND
1910
1936
<table id="datatype-datetime-time-table">
1911
1937
<title>Time Input</title>
1912
1938
<tgroup cols="2">
1939
+ <colspec colname="col1" colwidth="3*"/>
1940
+ <colspec colname="col2" colwidth="2*"/>
1913
1941
<thead>
1914
1942
<row>
1915
1943
<entry>Example</entry>
@@ -2252,6 +2280,9 @@ January 8 04:05:06 1999 PST
2252
2280
<table id="datatype-datetime-output-table">
2253
2281
<title>Date/Time Output Styles</title>
2254
2282
<tgroup cols="3">
2283
+ <colspec colname="col1" colwidth="1*"/>
2284
+ <colspec colname="col2" colwidth="1*"/>
2285
+ <colspec colname="col3" colwidth="2*"/>
2255
2286
<thead>
2256
2287
<row>
2257
2288
<entry>Style Specification</entry>
@@ -2306,6 +2337,9 @@ January 8 04:05:06 1999 PST
2306
2337
<table id="datatype-datetime-output2-table">
2307
2338
<title>Date Order Conventions</title>
2308
2339
<tgroup cols="3">
2340
+ <colspec colname="col1" colwidth="1*"/>
2341
+ <colspec colname="col2" colwidth="1*"/>
2342
+ <colspec colname="col3" colwidth="2*"/>
2309
2343
<thead>
2310
2344
<row>
2311
2345
<entry><varname>datestyle</varname> Setting</entry>
@@ -2721,23 +2755,23 @@ P <optional> <replaceable>years</replaceable>-<replaceable>months</replaceable>-
2721
2755
</thead>
2722
2756
<tbody>
2723
2757
<row>
2724
- <entry>1-2</entry>
2758
+ <entry><literal> 1-2</literal> </entry>
2725
2759
<entry>SQL standard format: 1 year 2 months</entry>
2726
2760
</row>
2727
2761
<row>
2728
- <entry>3 4:05:06</entry>
2762
+ <entry><literal> 3 4:05:06</literal> </entry>
2729
2763
<entry>SQL standard format: 3 days 4 hours 5 minutes 6 seconds</entry>
2730
2764
</row>
2731
2765
<row>
2732
- <entry>1 year 2 months 3 days 4 hours 5 minutes 6 seconds</entry>
2766
+ <entry><literal> 1 year 2 months 3 days 4 hours 5 minutes 6 seconds</literal> </entry>
2733
2767
<entry>Traditional Postgres format: 1 year 2 months 3 days 4 hours 5 minutes 6 seconds</entry>
2734
2768
</row>
2735
2769
<row>
2736
- <entry>P1Y2M3DT4H5M6S</entry>
2770
+ <entry><literal> P1Y2M3DT4H5M6S</literal> </entry>
2737
2771
<entry>ISO 8601 <quote>format with designators</quote>: same meaning as above</entry>
2738
2772
</row>
2739
2773
<row>
2740
- <entry>P0001-02-03T04:05:06</entry>
2774
+ <entry><literal> P0001-02-03T04:05:06</literal> </entry>
2741
2775
<entry>ISO 8601 <quote>alternative format</quote>: same meaning as above</entry>
2742
2776
</row>
2743
2777
</tbody>
@@ -3159,6 +3193,10 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
3159
3193
<table id="datatype-geo-table">
3160
3194
<title>Geometric Types</title>
3161
3195
<tgroup cols="4">
3196
+ <colspec colname="col1" colwidth="1*"/>
3197
+ <colspec colname="col2" colwidth="1*"/>
3198
+ <colspec colname="col3" colwidth="2*"/>
3199
+ <colspec colname="col4" colwidth="1*"/>
3162
3200
<thead>
3163
3201
<row>
3164
3202
<entry>Name</entry>
@@ -3485,6 +3523,9 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
3485
3523
<table tocentry="1" id="datatype-net-types-table">
3486
3524
<title>Network Address Types</title>
3487
3525
<tgroup cols="3">
3526
+ <colspec colname="col1" colwidth="1*"/>
3527
+ <colspec colname="col2" colwidth="1*"/>
3528
+ <colspec colname="col3" colwidth="2*"/>
3488
3529
<thead>
3489
3530
<row>
3490
3531
<entry>Name</entry>
@@ -4897,6 +4938,8 @@ SELECT * FROM pg_attribute
4897
4938
<table id="datatype-pseudotypes-table">
4898
4939
<title>Pseudo-Types</title>
4899
4940
<tgroup cols="2">
4941
+ <colspec colname="col1" colwidth="1*"/>
4942
+ <colspec colname="col2" colwidth="2*"/>
4900
4943
<thead>
4901
4944
<row>
4902
4945
<entry>Name</entry>
0 commit comments