1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
|
<!-- doc/src/sgml/release-9.3.sgml -->
<!-- See header comment in release.sgml about typical markup -->
<sect1 id="release-9-3">
<title>Release 9.3</title>
<note>
<title>Release Date</title>
<simpara>2013-XX-XX, CURRENT AS OF 2013-05-03</simpara>
</note>
<sect2>
<title>Overview</title>
<para>
ADD HERE Major enhancements include:
</para>
<!-- This list duplicates items below, but without authors or details-->
<para>
The above items are explained in more detail in the sections below.
</para>
</sect2>
<sect2>
<title>Migration to Version 9.3</title>
<para>
A dump/restore using <link
linkend="APP-PG-DUMPALL"><application>pg_dumpall</></link>, or use
of <link linkend="pgupgrade"><application>pg_upgrade</></link>, is
required for those wishing to migrate data from any previous release.
</para>
<para>
Version 9.3 contains a number of changes that may affect compatibility
with previous releases. Observe the following incompatibilities:
</para>
<sect3>
<title>Server Settings</title>
<itemizedlist>
<listitem>
<para>
Rename <varname>replication_timeout</> to <link
linkend="guc-wal-sender-timeout"><varname>wal_sender_timeout</></link>
(Amit Kapila)
</para>
<para>
This setting controls the <link
linkend="wal"><acronym>WAL</></link> sender timeout.
</para>
</listitem>
<listitem>
<para>
Require superuser privileges to set <link
linkend="guc-commit-delay"><varname>commit_delay</></link>
because it can now potentially delay other sessions (Simon Riggs)
</para>
</listitem>
<listitem>
<para>
Allow in-memory sorts to use their full memory allocation (Jeff Janes)
</para>
<para>
Users who have set <link
linkend="guc-work-mem"><varname>work_mem</></link> based on the
previous behavior should revisit that setting.
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Other</title>
<itemizedlist>
<listitem>
<para>
Throw an error if expiring tuple is again updated or deleted (Kevin Grittner)
DETAILS?
</para>
</listitem>
<listitem>
<para>
Change <link linkend="SQL-CREATETABLE"><literal>ON UPDATE
SET NULL/SET DEFAULT</></link> foreign key actions to affect
all referenced columns, not just those referenced in the
<command>UPDATE</> (Tom Lane)
</para>
<para>
Previously only columns referenced in the <command>UPDATE</> were
set to null or <literal>DEFAULT</>.
</para>
</listitem>
<listitem>
<para>
Internally store default foreign key matches (non-<literal>FULL</>,
non-<literal>PARTIAL</>) as <quote>simple</> (Tom Lane)
</para>
<para>
These were previously stored as "<unspecified>".
This changes the value stored in system column <link
linkend="catalog-pg-constraint"><structname>pg_constraint.confmatchtype</></link>.
</para>
</listitem>
<listitem>
<para>
Store <link linkend="wal"><acronym>WAL</></link> in a continuous
stream, rather than skipping the last 16MB segment every 4GB
(Heikki Linnakangas)
</para>
<para>
Previously, <acronym>WAL</> files ending in <literal>FF</> were
not used. If you have <acronym>WAL</> backup or restore scripts
that took that skipping into account, they need to be adjusted.
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Changes</title>
<para>
Below you will find a detailed account of the changes between
<productname>PostgreSQL</productname> 9.3 and the previous major
release.
</para>
<sect3>
<title>Server</title>
<sect4>
<title>Locking</title>
<itemizedlist>
<listitem>
<para>
Prevent non-key-field row updates from locking foreign key rows
(Álvaro Herrera, Noah Misch, Andres Freund, Alexander
Shulgin, Marti Raudsepp)
</para>
<para>
This improves concurrency and reduces the probability of deadlocks.
<command>UPDATE</>s on non-key columns use the new <command>SELECT
FOR NO KEY UPDATE</> lock type, and foreign key checks use the
new <command>SELECT FOR KEY SHARE</> lock mode.
</para>
</listitem>
<listitem>
<para>
Add configuration variable <link
linkend="guc-lock-timeout"><varname>lock_timeout</></link> to limit
lock wait duration (Zoltán Böszörményi)
</para>
</listitem>
<listitem>
<para>
Add cache of local locks (Jeff Janes)
</para>
<para>
This speeds lock release at statement completion in
transactions that hold many locks; it is particularly useful
for <application>pg_dump</>.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>Indexes</title>
<itemizedlist>
<listitem>
<para>
Add <link linkend="rangetypes-indexing"><type>SP-GiST</></link>
support for range data types (Alexander Korotkov)
</para>
</listitem>
<listitem>
<para>
Allow unlogged <link linkend="SPGiST"><type>GiST</></link> indexes
(Jeevan Chalke)
</para>
</listitem>
<listitem>
<para>
Improve concurrency of hash indexes (Robert Haas)
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>Optimizer</title>
<itemizedlist>
<listitem>
<para>
Collect and use histograms for <link linkend="rangetypes">range
types</link> (Alexander Korotkov)
</para>
</listitem>
<listitem>
<para>
Reduce optimizer overhead by discarding plans with unneeded cheaper
startup costs (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Improve optimizer cost estimation for index access (Tom Lane)
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>General Performance</title>
<itemizedlist>
<listitem>
<para>
Add <link linkend="SQL-COPY"><command>COPY FREEZE</></link>
option to avoid the overhead of later marking tuples as committed
(Simon Riggs, Jeff Davis)
</para>
</listitem>
<listitem>
<para>
Improve performance of <link
linkend="datatype-numeric"><type>NUMERIC</></link> calculations
(Kyotaro Horiguchi)
</para>
</listitem>
<listitem>
<para>
Improve grouping of sessions waiting for <link
linkend="guc-commit-delay"><varname>commit_delay</></link>
(Peter Geoghegan)
</para>
<para>
This improves the usefulness and behavior of
<varname>commit_delay</>.
</para>
</listitem>
<listitem>
<para>
Improve performance for transactions creating, rebuilding, or
dropping many relations (Jeff Janes, Tomas Vondra)
</para>
</listitem>
<listitem>
<para>
Improve performance of the <link
linkend="SQL-CREATETABLE"><command>CREATE TEMPORARY TABLE ... ON
COMMIT DELETE ROWS</></link> clause by only issuing delete if
the temporary table was accessed (Heikki Linnakangas)
</para>
</listitem>
<listitem>
<para>
Have vacuum recheck visibility after it has removed expired tuples
(Pavan Deolasee)
</para>
<para>
This increases the chance of a page being marked as all-visible.
</para>
</listitem>
<listitem>
<para>
Split the <link
linkend="guc-stats-temp-directory"><filename>pg_stat_tmp</></link>
statistics file into per-database and global files (Tomas Vondra)
</para>
<para>
This reduces the statistics management read and write overhead.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>Monitoring</title>
<itemizedlist>
<listitem>
<para>
Add optional ability to <link
linkend="app-initdb-data-checksums">checksum</link> data pages and
report corruption (Simon Riggs, Jeff Davis, Greg Smith, Ants Aasma)
</para>
<para>
The checksum option can be set during <link
linkend="APP-INITDB">initdb</link>.
</para>
</listitem>
<listitem>
<para>
Allow <link
linkend="functions-admin-signal-table"><function>pg_terminate_backend()</></link>
to terminate other backends with the same role (Dan Farina)
</para>
<para>
Previously, only superusers could terminate other sessions.
</para>
</listitem>
<listitem>
<para>
Allow the <link
linkend="runtime-config-statistics-collector">statistics
collector</link> to operate properly in cases where the system
clock goes backwards (Tom Lane)
</para>
<para>
Previously statistics collection would stop until the time again
reached the previously-stored latest time.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>Authentication</title>
<itemizedlist>
<listitem>
<para>
Improve <link linkend="auth-ldap"><acronym>LDAP</></link> error
reporting and documentation (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Add support for <acronym>LDAP</> authentication to be specified
in <acronym>URL</> format (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Change the <link
linkend="guc-ssl-ciphers"><varname>ssl_ciphers</></link> parameter
to start with <literal>DEFAULT</>, rather than <literal>ALL</>,
then remove insecure ciphers (Magnus Hagander)
</para>
<para>
It is assumed <literal>DEFAULT</> is more appropriate cipher set.
</para>
</listitem>
<listitem>
<para>
Parse and load <link
linkend="auth-username-maps"><filename>pg_ident.conf</></link>
once, not during each connection (Amit Kapila)
</para>
<para>
This is similar to how <link
linkend="auth-pg-hba-conf"><filename>pg_hba.conf</></link>
is processed.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>Server Settings</title>
<itemizedlist>
<listitem>
<para>
Dramatically reduce System V <link linkend="sysvipc">shared
memory</link> requirements (Robert Haas)
</para>
<para>
Instead, on Unix-like systems, <function>mmap()</> is used for
shared memory. This eliminates the requirement of increasing
System V shared memory kernel parameters.
</para>
</listitem>
<listitem>
<para>
Allow the postmaster to listen on multiple Unix-domain sockets
(Honza Horák)
</para>
<para>
This renames configuration parameter
<varname>unix_socket_directory</> to <link
linkend="guc-unix-socket-directories"><varname>unix_socket_directories</></link>,
which accepts a list of directories.
</para>
</listitem>
<listitem>
<para>
Allow a directory of configuration files to be processed (Magnus
Hagander, Greg Smith, Selena Deckelmann)
</para>
<para>
The directory is specified as <link
linkend="config-includes"><varname>include_dir</></link> in server
configuration file.
</para>
</listitem>
<listitem>
<para>
Increase the maximum <link
linkend="APP-INITDB">initdb</link>-configured value for <link
linkend="guc-shared-buffers"><varname>shared_buffers</></link>
to 128MB (Robert Haas)
</para>
<para>
This is the maximum value initdb attempts to set in <link
linkend="config-setting-configuration-file"><filename>postgresql.conf</></link>;
the previous value was 32MB.
</para>
</listitem>
<listitem>
<para>
Remove the <link linkend="guc-external-pid-file">external
<acronym>PID</> file</link> on postmaster exit (Peter Eisentraut)
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Replication and Recovery</title>
<itemizedlist>
<listitem>
<para>
Allow a streaming replication standby to <link
linkend="protocol-replication">follow a timeline switch</link>
(Heikki Linnakangas)
</para>
<para>
This allows streaming standbys to feed from newly-promoted slaves.
Previously slaves required access to a <acronym>WAL</> archive directory to
accomplish this.
</para>
</listitem>
<listitem>
<para>
Add <acronym>SQL</> functions <link
linkend="functions-admin-backup"><function>pg_is_in_backup()</></link>
and <link
linkend="functions-admin-backup"><function>pg_backup_start_time()</></link>
(Gilles Darold)
</para>
<para>
These functions report the status of base backups.
</para>
</listitem>
<listitem>
<para>
Improve performance of streaming log shipping with <link
linkend="guc-synchronous-commit"><varname>synchronous_commit</></link>
disabled (Andres Freund)
</para>
</listitem>
<listitem>
<para>
Allow much faster promotion of a streaming standby to primary (Simon
Riggs, Kyotaro Horiguchi)
</para>
</listitem>
<listitem>
<para>
Add the last checkpoint's redo location to <link
linkend="APP-PGCONTROLDATA"><application>pg_controldata</></link>'s
output (Fujii Masao)
</para>
<para>
This information is useful for determining the <acronym>WAL</>
files needed for restore.
</para>
</listitem>
<listitem>
<para>
Allow tools like <link
linkend="app-pgreceivexlog"><application>pg_receivexlog</></link>
to run on computers with different architectures (Heikki
Linnakangas)
</para>
</listitem>
<listitem>
<para>
Have <link
linkend="app-pgbasebackup"><application>pg_basebackup</></link>
<option>--write-recovery-conf</> output a
minimal <filename>recovery.conf</> (Zoltán
Böszörményi, Magnus Hagander)
</para>
<para>
This simplifies setting up a standby server.
</para>
</listitem>
<listitem>
<para>
Allow <link
linkend="app-pgreceivexlog"><application>pg_receivexlog</></link>
and <link
linkend="app-pgbasebackup"><application>pg_basebackup</></link>
<option>--xlog-method</> to handle streaming timeline switches
(Heikki Linnakangas)
</para>
</listitem>
<listitem>
<para>
Add <link
linkend="guc-wal-receiver-timeout"><varname>wal_receiver_timeout</></link>
parameter to control the <acronym>WAL</> receiver timeout
(Amit Kapila)
</para>
<para>
This allows more rapid detection of
connection failure. No longer set <link
linkend="guc-wal-receiver-status-interval"><varname>wal_receiver_status_interval</></link>?
</para>
</listitem>
</itemizedlist>
<sect4>
<title><link linkend="wal">Write-Ahead Log</link>
(<acronym>WAL</>)</title>
<itemizedlist>
<listitem>
<para>
Change the <acronym>WAL</> record format to allow splitting the record header
across pages (Heikki Linnakangas)
</para>
<para>
The new format is slightly more compact.
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Queries</title>
<itemizedlist>
<listitem>
<para>
Implement <acronym>SQL</>-standard <link
linkend="queries-lateral"><literal>LATERAL</></link> for
<literal>FROM</>-clause subqueries and function calls (Tom Lane)
</para>
<para>
This is useful in allowing <literal>FROM</> subqueries and
functions to reference output from tables in the <literal>FROM</>
clause. The <literal>LATERAL</> keyword is optional for functions.
</para>
</listitem>
<listitem>
<para>
Add support for piping <link
linkend="SQL-COPY"><command>COPY</></link> and <link
linkend="APP-PSQL"><application>psql</></link> <command>\copy</>
to/from an external program (Etsuro Fujita)
</para>
</listitem>
<listitem>
<para>
Improve query string error location reporting (Tom Lane)
</para>
<para>
Only <command>CREATE SCHEMA ... IF NOT EXISTS</>? If so, remove it.
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Object Manipulation</title>
<itemizedlist>
<listitem>
<para>
Add support to <link linkend="event-triggers">event triggers</link>
(Dimitri Fontaine, Robert Haas, Álvaro Herrera)
</para>
<para>
This allows C functions to be called when specific commands are run.
</para>
</listitem>
<listitem>
<para>
Allow a multi-row <link
linkend="SQL-VALUES"><literal>VALUES</></link> clause in rules
to reference <literal>OLD</>/<literal>NEW</> (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Add <link linkend="SQL-CREATESCHEMA"><command>CREATE SCHEMA ... IF
NOT EXISTS</></link> clause (Fabrízio de Royes Mello)
</para>
</listitem>
<listitem>
<para>
Have <link linkend="SQL-REASSIGN-OWNED"><command>REASSIGN
OWNED</></link> also change ownership of shared objects
(Álvaro Herrera)
</para>
</listitem>
</itemizedlist>
<sect4>
<title><link linkend="SQL-CREATETABLE"><command>CREATE TABLE</></link></title>
<itemizedlist>
<listitem>
<para>
No longer output messages about implicit index and sequence creation (Robert Haas)
</para>
<para>
These messages now appear with <literal>DEBUG1</>-level output.
</para>
</listitem>
<listitem>
<para>
Allow <command>DROP TABLE IF NOT EXISTS</> to succeed for a
non-existent schema (Bruce Momjian)
</para>
<para>
Previously, it threw an error if the schema did not exist.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title>Constraints</title>
<itemizedlist>
<listitem>
<para>
Provide clients with <link
linkend="libpq-pqresulterrorfield">constraint violation details</link>
as separate fields (Pavel Stehule)
</para>
<para>
This allows clients to retrieve table, column, data type, or constraint
name error details. Previously such information had to be extracted from
error strings. Client language support is required to access these
fields.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title><command>ALTER</></title>
<itemizedlist>
<listitem>
<para>
Add the <link linkend="SQL-ALTERTYPE"><command>ALTER TYPE ... IF
NOT EXISTS</></link> clause when adding enumerated type labels
(Andrew Dunstan)
</para>
<para>
This is useful for conditional label creation in transaction blocks.
</para>
</listitem>
<listitem>
<para>
Add <link linkend="SQL-ALTERROLE"><command>ALTER ROLE ALL
SET</></link> to add settings to all users (Peter Eisentraut)
</para>
<para>
This allows settings to apply to all users in all databases. <link
linkend="SQL-ALTERDATABASE"><command>ALTER DATABASE SET</></link>
already allowed addition of settings for all users in a single
database. <filename>postgresql.conf</> has a similar effect.
</para>
</listitem>
<listitem>
<para>
Add support for <link linkend="SQL-ALTERRULE"><command>ALTER RULE
... RENAME</></link> (Ali Dar)
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title><link linkend="rules-views"><command>VIEWs</></link></title>
<itemizedlist>
<listitem>
<para>
Add a <link linkend="SQL-CREATEMATERIALIZEDVIEW">materialized
view</link> relations (Kevin Grittner)
</para>
<para>
Unlike ordinary views, where the base tables are read on every access,
materialized views create physical tables at creation or refresh time.
Access to the materialized view reads from these materialized physical
tables. There is no facility for incrementally refreshing materialized
views or auto-accessing them via base table access.
</para>
</listitem>
<listitem>
<para>
Make simple views <link
linkend="SQL-CREATEVIEW-updatable-views">auto-updatable</link>
(Dean Rasheed)
</para>
<para>
Simple views that reference some or all columns from a
single base table are now updatable by default. More
complex views can be made updatable using <link
linkend="SQL-CREATETRIGGER"><literal>INSTEAD OF</></link> triggers
or <link linkend="SQL-CREATERULE"><literal>INSTEAD</></link> rules.
</para>
</listitem>
<listitem>
<para>
Allow views and rules to handle cases where referenced tables are
renamed, or columns are renamed, added, or dropped (Tom Lane)
HOW DOES IT HANDLE A DROPPED REFERENCED COLUMN?
</para>
</listitem>
<listitem>
<para>
Add <link linkend="SQL-CREATEVIEW"><command>CREATE RECURSIVE
VIEW</></link> syntax (Peter Eisentraut)
</para>
<para>
Internally this is translated into <command>CREATE VIEW ... WITH
RECURSIVE</>.
</para>
</listitem>
<listitem>
<para>
When converting a table to a view, remove its system columns (Tom Lane)
KEEP?
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Data Types</title>
<itemizedlist>
<listitem>
<para>
Increase the maximum length of <link linkend="lo-open">large
objects</link> from 2GB to 4TB (Nozomi Anzai, Yugo Nagata)
</para>
<para>
This change includes new libpq and server-side 64-bit-enabled functions.
</para>
</listitem>
<listitem>
<para>
Allow text <link linkend="datatype-timezones">timezone
designations</link>, e.g. <quote>America/Chicago</> when using
the <acronym>ISO</> <quote>T</> timestamptz format (Bruce Momjian)
</para>
</listitem>
</itemizedlist>
<sect4>
<title><link linkend="datatype-json"><type>JSON</></link></title>
<itemizedlist>
<listitem>
<para>
Add <link linkend="functions-json">operators and functions</link>
to extract values from <type>JSON</> data strings (Andrew Dunstan)
</para>
</listitem>
<listitem>
<para>
Allow <type>JSON</> data strings to be <link
linkend="functions-json-table">converted into records</link>
(Andrew Dunstan)
</para>
</listitem>
<listitem>
<para>
Add <link linkend="functions-json-table">functions</link>
to convert values, records, and hstore data to <type>JSON</>
(Andrew Dunstan)
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Functions</title>
<itemizedlist>
<listitem>
<para>
Add <link
linkend="array-functions-table"><function>array_remove()</></link>
and <link
linkend="array-functions-table"><function>array_replace()</></link>
functions (Marco Nenciarini, Gabriele Bartolini)
</para>
</listitem>
<listitem>
<para>
Allow <link
linkend="functions-string-other"><function>concat()</></link>
and <link
linkend="functions-string-format"><function>format()</></link>
to properly expand <literal>VARIADIC</>-labeled arguments
(Pavel Stehule)
</para>
</listitem>
<listitem>
<para>
Improve <link
linkend="functions-string-format"><function>format()</></link>
to handle field width and left/right alignment (Pavel Stehule)
</para>
</listitem>
<listitem>
<para>
Have <link
linkend="functions-formatting-table"><function>to_char()</></link>,
<link
linkend="functions-formatting-table"><function>to_date()</></link>,
and <link
linkend="functions-formatting-table"><function>to_timestamp()</></link>
properly handle negative century designations (<literal>CC</>)
(Bruce Momjian)
</para>
<para>
Previously the behavior was either wrong or inconsistent
with positive/<acronym>AD</> handling, e.g. format mask
<quote>IYYY-IW-DY</>.
</para>
</listitem>
<listitem>
<para>
Have <link
linkend="functions-formatting-table"><function>to_date()</></link>
and <link
linkend="functions-formatting-table"><function>to_timestamp()</></link>
return proper results when mixing <acronym>ISO</> and Gregorian
week/day designations (Bruce Momjian)
</para>
</listitem>
<listitem>
<para>
Cause <link
linkend="functions-info-catalog-table"><function>pg_get_viewdef()</></link>
to default to wrapping after every <link
linkend="SQL-SELECT"><command>SELECT</></link> target list and
<literal>FROM</> entry (Marko Tiikkaja)
</para>
<para>
This causes view output, like from <link
linkend="APP-PGDUMP"><application>pg_dump</></link>, to be
more narrow.
</para>
</listitem>
<listitem>
<para>
Have <function>map_sql_value_to_xml_value()</> properly expand
domains (Pavel Stehule) WHAT IS THE USER-VISIBLE AFFECT HERE?
map_sql_value_to_xml_value IS A C FUNCTION
</para>
</listitem>
<listitem>
<para>
Force cached functions to be replanned if the <link
linkend="guc-search-path"><varname>search_path</></link> changes
(Tom Lane)
</para>
<para>
Previously functions already run in the current session ignored
<varname>search_path</> changes.
(Bruce Momjian)
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Server-Side Languages</title>
<itemizedlist>
<listitem>
<para>
Allow <link linkend="spi-spi-execute"><acronym>SPI</></link>
functions to access the number of rows processed by
<link linkend="SQL-COPY"><command>COPY</></link> (Pavel Stehule)
</para>
</listitem>
</itemizedlist>
<sect4>
<title><link linkend="plpgsql">PL/pgSQL</link> Server-Side Language</title>
<itemizedlist>
<listitem>
<para>
Allow PL/pgSQL to use <literal>RETURN</> with a composite-type
expressions (Asif Rehman)
</para>
<para>
Previously <literal>RETURN</> could only reference composite-type variables.
</para>
</listitem>
<listitem>
<para>
Allow PL/pgSQL to access the number of rows processed by
<link linkend="SQL-COPY"><command>COPY</></link> (Pavel Stehule)
</para>
<para>
The command is <link
linkend="plpgsql-statements-diagnostics"><command>GET DIAGNOSTICS
x = ROW_COUNT</></link>.
</para>
</listitem>
<listitem>
<para>
Allow greater flexibility in where keywords can be used in PL/pgSQL (Tom Lane)
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title><link linkend="plpython">PL/Python</link> Server-Side Language</title>
<itemizedlist>
<listitem>
<para>
Add PL/Python result object string handler (Peter Eisentraut)
</para>
<para>
This allows plpy.debug(rv) to output something reasonable.
</para>
</listitem>
<listitem>
<para>
Have PL/Python convert oid values to a proper Python numeric type
(Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Handle <link linkend="spi"><acronym>SPI</></link> errors raised
explicitly with PL/Python's <literal>RAISE</> the same as as
internal <acronym>SPI</> errors (Oskari Saarenmaa and Jan Urbanski)
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Client Applications</title>
<itemizedlist>
<listitem>
<para>
Add command-line utility <link
linkend="app-pg-isready"><application>pg_isready</></link> to
check if the server is ready to accept connections (Phil Sorber)
</para>
</listitem>
<listitem>
<para>
Support multiple <option>--table</> arguments for <link
linkend="APP-PGRESTORE"><application>pg_restore</></link>,
<link linkend="APP-CLUSTERDB"><application>clusterdb</></link>,
<link linkend="APP-REINDEXDB"><application>reindexdb</></link>,
and <link linkend="APP-VACUUMDB"><application>vacuumdb</></link>
(Josh Kupershmidt)
</para>
<para>
This is similar to the <link
linkend="APP-PGDUMP"><application>pg_dump</></link> <option>--table</>
support.
</para>
</listitem>
<listitem>
<para>
Add <option>--dbname</> option to <link
linkend="APP-PG-DUMPALL"><application>pg_dumpall</></link>, <link
linkend="app-pgbasebackup"><application>pg_basebackup</></link>,
<link
linkend="app-pgreceivexlog"><application>pg_receivexlog</></link>
to specify the connection string (Amit Kapila)
</para>
</listitem>
<listitem>
<para>
Add libpq function <link
linkend="libpq-pqconninfo"><function>PQconninfo()</></link>
to return connection information (Zoltán
Böszörményi, Magnus Hagander)
</para>
</listitem>
</itemizedlist>
<sect4>
<title><link linkend="APP-PSQL"><application>psql</></link></title>
<itemizedlist>
<listitem>
<para>
Adjust function cost settings so <application>psql</> tab
completion and pattern searching is more efficient (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Improve <application>psql</> tab completion coverage (Jeff Janes,
Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Allow the <application>psql</> <option>--single-transaction</> mode to work when
reading from standard input (Fabien Coelho, Robert Haas)
</para>
<para>
Previously this option only worked when reading from a file.
</para>
</listitem>
<listitem>
<para>
Remove <application>psql</> warning when connecting to an older
server (Peter Eisentraut)
</para>
<para>
The warning when connecting to a newer server was retained.
</para>
</listitem>
</itemizedlist>
<sect5>
<title><link linkend="R2-APP-PSQL-4">Backslash Commands</link></title>
<itemizedlist>
<listitem>
<para>
Add <application>psql</> <command>\watch</> command to repeatedly
execute commands (Will Leinweber)
</para>
</listitem>
<listitem>
<para>
Add <application>psql</> command <command>\gset</> to store query
results in <application>psql</> variables (Pavel Stehule)
</para>
</listitem>
<listitem>
<para>
Add <acronym>SSL</> information to <application>psql</>'s
<command>\conninfo</> command (Alastair Turner)
</para>
</listitem>
<listitem>
<para>
Add <quote>Security</> label to <application>psql</> <command>\df+</>
output (Jon Erdman)
</para>
</listitem>
<listitem>
<para>
Allow <application>psql</> <command>\l</> to accept a database
name pattern (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
In <application>psql</>, do not allow <command>\connect</> to
use defaults if there is no active connection (Bruce Momjian)
</para>
<para>
This might be the case if the server had crashed.
</para>
</listitem>
<listitem>
<para>
Properly reset state if <application>psql</>'s <quote>\g file</>
command failed (Tom Lane)
</para>
<para>
Previously failed commands discarded output from subsequent commands.
</para>
</listitem>
</itemizedlist>
</sect5>
<sect5>
<title>Output</title>
<itemizedlist>
<listitem>
<para>
Add a <literal>latex-longtable</> output format to
<application>psql</> (Bruce Momjian)
</para>
<para>
Longtable allows tables to span multiple pages.
</para>
</listitem>
<listitem>
<para>
Add a <literal>border=3</> output mode to the <application>psql</>
<literal>latex</> format (Bruce Momjian)
</para>
</listitem>
<listitem>
<para>
In <application>psql</> tuples-only and expanded modes, no longer
output <quote>(No rows)</> (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
In <application>psql</>, no longer print an empty line for
unaligned, expanded output for zero rows (Peter Eisentraut)
</para>
</listitem>
</itemizedlist>
</sect5>
</sect4>
<sect4>
<title><link linkend="APP-PGDUMP"><application>pg_dump</></link></title>
<itemizedlist>
<listitem>
<para>
Add <application>pg_dump</> <option>--jobs</> to dump in parallel
when using directory output format (Joachim Wieland)
</para>
</listitem>
<listitem>
<para>
Have <application>pg_dump</> output functions in a predictable
order (Joel Jacobson)
</para>
</listitem>
<listitem>
<para>
Fix tar files emitted by <application>pg_dump</> and <link
linkend="app-pgbasebackup"><application>pg_basebackup</></link>
to be <acronym>POSIX</> conformant (Brian Weaver, Tom Lane)
</para>
</listitem>
<listitem>
<para>
Add <option>--dbname</> option to <application>pg_dump</>, for
consistency with other client commands (Heikki Linnakangas)
</para>
<para>
The database name could already be supplied last without a flag.
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title><link linkend="APP-INITDB"><application>initdb</></link></title>
<itemizedlist>
<listitem>
<para>
Have initdb fsync the newly created data directory (Jeff Davis)
</para>
<para>
This can be disabled by using <option>--nosync</>.
</para>
</listitem>
<listitem>
<para>
Add initdb <option>--sync-only</> option to sync the data directory to durable
storage (Bruce Momjian)
</para>
<para>
This is used by <link
linkend="pgupgrade"><application>pg_upgrade</></link>.
</para>
</listitem>
<listitem>
<para>
Have initdb issue a warning about placing the data directory at the
top of file system mount points (Bruce Momjian)
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Source Code</title>
<itemizedlist>
<listitem>
<para>
Add an embedded list interface (Andres Freund)
</para>
</listitem>
<listitem>
<para>
Add infrastructure to better support plug-in <link
linkend="bgworker">background worker processes</link>
(Álvaro Herrera)
</para>
</listitem>
<listitem>
<para>
Create a centralized timeout <acronym>API</> (Zoltán
Böszörményi)
</para>
</listitem>
<listitem>
<para>
Create libpgcommon and move <function>pg_malloc()</> and other
functions there (Álvaro Herrera, Andres Freund)
</para>
<para>
This allows libpgport to be used solely for porting code.
</para>
</listitem>
<listitem>
<para>
Standardize on naming of client-side memory allocation functions (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Add compiler designations to indicate some <function>ereport()</>
and <function>elog()</> calls do not return (Peter Eisentraut,
Andres Freund, Tom Lane, Heikki Linnakangas)
</para>
</listitem>
<listitem>
<para>
Allow options to be passed to the regression
test output comparison utility via <link
linkend="regress-evaluation"><envar>PG_REGRESS_DIFF_OPTS</></link>
(Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Add isolation tests for <link
linkend="SQL-CREATEINDEX"><command>CREATE INDEX
CONCURRENTLY</></link> (Abhijit Menon-Sen)
</para>
</listitem>
<listitem>
<para>
Remove typedefs for <type>int2</>/<type>int4</> as they are better
represented as <type>int16</>/<type>int32</> (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Fix <link linkend="install">install-strip</link> on Mac <productname>OS
X</> (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Remove <link linkend="configure">configure</link> flag
<option>--disable-shared</>, as it is no longer used (Bruce
Momjian)
</para>
</listitem>
<listitem>
<para>
Rewrite pgindent in <application>Perl</> (Andrew Dunstan)
</para>
</listitem>
<listitem>
<para>
Add emacs macro to match <productname>PostgreSQL</> perltidy
formatting (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Run tool to check the keyword list when the backend grammar is
changed (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Centralize <application>flex</> and <application>bison</>
<application>make</> rules (Peter Eisentraut)
</para>
<para>
This is useful for <application>pgxs</> authors.
</para>
</listitem>
<listitem>
<para>
Add <function>Assert()</> functionality to client-side code for
frontend code (Andrew Dunstan)
</para>
</listitem>
<listitem>
<para>
Change many internal many backend functions to return <type>OID</>s
rather than void (Dimitri Fontaine)
</para>
<para>
This is useful for event triggers.
</para>
</listitem>
<listitem>
<para>
Invent pre-commit/pre-prepare/pre-subcommit events for transaction
callbacks (Tom Lane)
</para>
<para>
Loadable modules that use transaction callbacks might need modification
to handle these new event types.
</para>
</listitem>
<listitem>
<para>
Add function <link
linkend="functions-info-catalog-table"><function>pg_identify_object()</></link>
to dump an object in machine-readable format (Álvaro
Herrera)
</para>
</listitem>
<listitem>
<para>
Add post-<command>ALTER</>-object server hooks (KaiGai Kohei)
</para>
</listitem>
<listitem>
<para>
Implement a generic binary heap and use it for Merge-Append
operations (Abhijit Menon-Sen)
</para>
</listitem>
<listitem>
<para>
Improve ability to detect official timezone abbreviation changes
(Tom Lane)
</para>
</listitem>
<listitem>
<para>
Add <application>pkg-config</> support <application>libpq</>
and <application>ecpg</> libraries (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Remove <filename>src/tool/backend</>, now that the content is on
the <productname>PostgreSQL</> wiki (Bruce Momjian)
</para>
</listitem>
<listitem>
<para>
Split out <link linkend="wal"><acronym>WAL</></link> reading as
an independent facility (Heikki Linnakangas, Andres Freund)
</para>
</listitem>
<listitem>
<para>
Use a 64-bit integer to represent <link
linkend="wal"><acronym>WAL</></link> positions
(<structname>XLogRecPtr</>) instead of two 32-bit integers
(Heikki Linnakangas)
</para>
<para>
Generally, tools that need to read the <acronym>WAL</> format
will need to be adjusted.
</para>
</listitem>
<listitem>
<para>
Allow <link linkend="plpython">PL/Python</link> to support
platform-specific include directories (Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Allow <link linkend="plpython">PL/Python</link> on <productname>OS
X</> to build against custom versions of <application>Python</>
(Peter Eisentraut)
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Additional Modules</title>
<itemizedlist>
<listitem>
<para>
Allow write-enabled <link
linkend="SQL-CREATEFOREIGNDATAWRAPPER">foreign data wrappers</link>
to support writes (KaiGai Kohei)
</para>
</listitem>
<listitem>
<para>
Add a <productname>Postgres</> <link linkend="postgres-fdw">foreign
data wrapper</link> contrib module (Shigeru Hanada)
</para>
<para>
This foreign data wrapper allows writes.
</para>
</listitem>
<listitem>
<para>
Add <link linkend="pgxlogdump"><application>pg_xlogdump</></link>
contrib program (Andres Freund)
</para>
</listitem>
<listitem>
<para>
Add support for indexing of regular-expression searches in
extension <link linkend="pgtrgm"><productname>pg_trgm</></link>
(Alexander Korotkov)
</para>
</listitem>
<listitem>
<para>
Improve <link linkend="pgtrgm"><productname>pg_trgm</></link>
handling of multibyte characters (Tom Lane)
</para>
</listitem>
<listitem>
<para>
Add <link linkend="pgstattuple">pgstattuple function</link> to report the
size of the <type>GIN</> pending index insertion list (Fujii Masao)
</para>
</listitem>
<listitem>
<para>
Have <link linkend="oid2name"><application>oid2name</></link>,
<link linkend="pgbench"><application>pgbench</></link>, and
<link linkend="vacuumlo"><application>vacuumlo</></link> set
<varname>fallback_application_name</> (Amit Kapila)
</para>
</listitem>
<listitem>
<para>
Improve output of <link
linkend="pgtesttiming"><application>pg_test_timing</></link>
(Bruce Momjian)
</para>
</listitem>
<listitem>
<para>
Improve output of <link
linkend="pgtestfsync"><application>pg_test_fsync</></link>
(Peter Geoghegan)
</para>
</listitem>
<listitem>
<para>
Improve <link linkend="dblink">dblink</link> option validator
(Tom Lane)
</para>
<para>
Details?
</para>
</listitem>
</itemizedlist>
<sect4>
<title><link linkend="pgupgrade"><application>pg_upgrade</></link></title>
<itemizedlist>
<listitem>
<para>
Allow <application>pg_upgrade</> <option>--jobs</> to do
parallelism (Bruce Momjian)
</para>
<para>
This allows parallel schema dump/restore of databases, as well as
parallel copy/link of data files per tablespace.
</para>
</listitem>
<listitem>
<para>
Have <application>pg_upgrade</> create unix-domain sockets in
the current directory (Bruce Momjian, Tom Lane)
</para>
<para>
This reduces the possibility that someone will accidentally connect
during the upgrade.
</para>
</listitem>
<listitem>
<para>
Have <application>pg_upgrade</> <option>--check</> mode properly
detect the location of non-default socket directories (Bruce
Momjian, Tom Lane)
</para>
</listitem>
<listitem>
<para>
Improve performance of <application>pg_upgrade</> for databases
with many tables (Bruce Momjian)
</para>
</listitem>
<listitem>
<para>
Increase <application>pg_upgrade</> logging content by showing
executed command (Álvaro Herrera)
</para>
</listitem>
<listitem>
<para>
Improve <application>pg_upgrade</>'s status display during
copy/link (Bruce Momjian)
</para>
</listitem>
</itemizedlist>
</sect4>
<sect4>
<title><link linkend="pgbench"><application>pgbench</></link></title>
<itemizedlist>
<listitem>
<para>
Add <option>--foreign-keys</> option to <application>pgbench</> (Jeff Janes)
</para>
<para>
This adds foreign key constraints to tables, for use in foreign
key performance testing.
</para>
</listitem>
<listitem>
<para>
Allow <application>pgbench</> to aggregate performance statistics
and produce output every <option>--aggregate-interval</> specified
seconds (Tomas Vondra)
</para>
</listitem>
<listitem>
<para>
Add <application>pg_bench</> <option>--sampling-rate</> option
to control the percentage of transactions logged (Tomas Vondra)
</para>
</listitem>
<listitem>
<para>
Reduce and improve the status message output of
<application>pgbench</>'s initialization mode (Robert Haas,
Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Add <application>pgbench</> <option>-q</> mode to print one output
line every five seconds (Tomas Vondra)
</para>
<para>
Output <application>pgbench</> elapsed and estimated remaining
time during initialization logging (Tomas Vondra)
</para>
</listitem>
<listitem>
<para>
Allow <application>pgbench</> to use a larger scale factor
(Greg Smith)
</para>
</listitem>
</itemizedlist>
</sect4>
</sect3>
<sect3>
<title>Documentation</title>
<itemizedlist>
<listitem>
<para>
Allow <productname>EPUB</>-format documentation to be created
(Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Update <productname>FreeBSD</> kernel configuration documentation
(Brad Davis)
</para>
</listitem>
<listitem>
<para>
Improve <link linkend="tutorial-window"><literal>WINDOW</>
function</link> documentation (Bruce Momjian, Tom Lane)
</para>
</listitem>
<listitem>
<para>
Add <link linkend="docguide">instructions</link> for setting
up the documentation tool chain on Mac <productname>OS X</>
(Peter Eisentraut)
</para>
</listitem>
<listitem>
<para>
Improve <link
linkend="guc-commit-delay"><varname>commit_delay</></link>
documentation (Peter Geoghegan)
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
|