2013-04-20 22:32:32 +02:00
|
|
|
<!-- 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>
|
2013-05-03 19:30:58 +02:00
|
|
|
<simpara>2013-XX-XX, CURRENT AS OF 2013-05-03</simpara>
|
2013-04-20 22:32:32 +02:00
|
|
|
</note>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Overview</title>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Major enhancements include:
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- This list duplicates items below, but without authors or details-->
|
|
|
|
|
2013-05-06 22:02:37 +02:00
|
|
|
<para>
|
|
|
|
ADD HERE ...
|
|
|
|
</para>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<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>
|
2013-05-04 03:11:35 +02:00
|
|
|
<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>
|
2013-05-04 16:44:49 +02:00
|
|
|
Require superuser privileges to set <link
|
2013-05-04 03:11:35 +02:00
|
|
|
linkend="guc-commit-delay"><varname>commit_delay</></link>
|
2013-05-04 16:44:49 +02:00
|
|
|
because it can now potentially delay other sessions (Simon Riggs)
|
2013-05-04 03:11:35 +02:00
|
|
|
</para>
|
2013-05-04 16:44:49 +02:00
|
|
|
</listitem>
|
2013-05-04 03:11:35 +02:00
|
|
|
|
2013-05-04 16:44:49 +02:00
|
|
|
<listitem>
|
2013-05-04 03:11:35 +02:00
|
|
|
<para>
|
2013-05-04 16:44:49 +02:00
|
|
|
Allow in-memory sorts to use their full memory allocation (Jeff Janes)
|
2013-05-04 03:11:35 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 16:44:49 +02:00
|
|
|
Users who have set <link
|
|
|
|
linkend="guc-work-mem"><varname>work_mem</></link> based on the
|
|
|
|
previous behavior should revisit that setting.
|
2013-05-04 03:11:35 +02:00
|
|
|
</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>
|
2013-05-06 22:02:37 +02:00
|
|
|
Previously, <acronym>WAL</> files with names ending in <literal>FF</>
|
|
|
|
were not used. If you have <acronym>WAL</> backup or restore scripts
|
|
|
|
that took that skipping into account, they will need to be adjusted.
|
2013-05-04 03:11:35 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
</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>
|
2013-04-20 22:50:56 +02:00
|
|
|
<title>Locking</title>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Prevent non-key-field row updates from locking foreign key rows
|
2013-04-22 22:05:06 +02:00
|
|
|
(Álvaro Herrera, Noah Misch, Andres Freund, Alexander
|
|
|
|
Shulgin, Marti Raudsepp)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
This improves concurrency and reduces the probability of deadlocks.
|
2013-05-03 20:48:12 +02:00
|
|
|
<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.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-24 05:21:09 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add configuration variable <link
|
|
|
|
linkend="guc-lock-timeout"><varname>lock_timeout</></link> to limit
|
|
|
|
lock wait duration (Zoltán Böszörményi)
|
2013-04-24 05:21:09 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Add cache of local locks (Jeff Janes)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
This speeds lock release at statement completion in
|
|
|
|
transactions that hold many locks; it is particularly useful
|
2013-05-06 16:57:23 +02:00
|
|
|
for <application>pg_dump</> and the restoration of such dumps.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:50:56 +02:00
|
|
|
</itemizedlist>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-20 22:50:56 +02:00
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>Indexes</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="rangetypes-indexing"><type>SP-GiST</></link>
|
|
|
|
support for range data types (Alexander Korotkov)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow unlogged <link linkend="SPGiST"><type>GiST</></link> indexes
|
|
|
|
(Jeevan Chalke)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Improve concurrency of hash indexes (Robert Haas)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>Optimizer</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Collect and use histograms for <link linkend="rangetypes">range
|
|
|
|
types</link> (Alexander Korotkov)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Reduce optimizer overhead by discarding plans with unneeded cheaper
|
|
|
|
startup costs (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Improve optimizer cost estimation for index access (Tom Lane)
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
2013-04-20 22:50:56 +02:00
|
|
|
<title>General Performance</title>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="SQL-COPY"><command>COPY FREEZE</></link>
|
2013-05-06 22:02:37 +02:00
|
|
|
option to avoid the overhead of marking tuples as committed later
|
2013-05-04 01:40:23 +02:00
|
|
|
(Simon Riggs, Jeff Davis)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve performance of <link
|
|
|
|
linkend="datatype-numeric"><type>NUMERIC</></link> calculations
|
|
|
|
(Kyotaro Horiguchi)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 16:44:49 +02:00
|
|
|
Improve grouping of sessions waiting for <link
|
|
|
|
linkend="guc-commit-delay"><varname>commit_delay</></link>
|
|
|
|
(Peter Geoghegan)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 16:44:49 +02:00
|
|
|
This improves the usefulness and behavior of
|
|
|
|
<varname>commit_delay</>.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Improve performance for transactions creating, rebuilding, or
|
|
|
|
dropping many relations (Jeff Janes, Tomas Vondra)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:50:56 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve performance of the <link
|
|
|
|
linkend="SQL-CREATETABLE"><command>CREATE TEMPORARY TABLE ... ON
|
|
|
|
COMMIT DELETE ROWS</></link> clause by only issuing delete if
|
2013-05-03 20:48:12 +02:00
|
|
|
the temporary table was accessed (Heikki Linnakangas)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Have vacuum recheck visibility after it has removed expired tuples
|
|
|
|
(Pavan Deolasee)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
This increases the chance of a page being marked as all-visible.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Split the <link
|
|
|
|
linkend="guc-stats-temp-directory"><filename>pg_stat_tmp</></link>
|
|
|
|
statistics file into per-database and global files (Tomas Vondra)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This reduces the I/O overhead for statistics tracking.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
2013-04-20 22:50:56 +02:00
|
|
|
<title>Monitoring</title>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
The checksum option can be set during <link
|
|
|
|
linkend="APP-INITDB">initdb</link>.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow <link
|
|
|
|
linkend="functions-admin-signal-table"><function>pg_terminate_backend()</></link>
|
|
|
|
to terminate other backends with the same role (Dan Farina)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Previously, only superusers could terminate other sessions.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow the <link
|
|
|
|
linkend="runtime-config-statistics-collector">statistics
|
|
|
|
collector</link> to operate properly in cases where the system
|
|
|
|
clock goes backwards (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Previously statistics collection would stop until the time again
|
|
|
|
reached the previously-stored latest time.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
2013-04-20 22:50:56 +02:00
|
|
|
<title>Authentication</title>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <link linkend="auth-ldap"><acronym>LDAP</></link> error
|
|
|
|
reporting and documentation (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add support for <acronym>LDAP</> authentication to be specified
|
|
|
|
in <acronym>URL</> format (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
It is assumed <literal>DEFAULT</> is more appropriate cipher set.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Parse and load <link
|
|
|
|
linkend="auth-username-maps"><filename>pg_ident.conf</></link>
|
|
|
|
once, not during each connection (Amit Kapila)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
This is similar to how <link
|
|
|
|
linkend="auth-pg-hba-conf"><filename>pg_hba.conf</></link>
|
|
|
|
is processed.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>Server Settings</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Dramatically reduce System V <link linkend="sysvipc">shared
|
2013-05-04 16:44:49 +02:00
|
|
|
memory</link> requirements (Robert Haas)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Instead, on Unix-like systems, <function>mmap()</> is used for
|
2013-05-06 22:02:37 +02:00
|
|
|
shared memory. For most users, this will eliminate the need to
|
|
|
|
adjust kernel parameters for shared memory.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Allow the postmaster to listen on multiple Unix-domain sockets
|
2013-04-22 23:17:00 +02:00
|
|
|
(Honza Horák)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
The configuration parameter
|
|
|
|
<varname>unix_socket_directory</> is replaced by <link
|
2013-05-04 01:40:23 +02:00
|
|
|
linkend="guc-unix-socket-directories"><varname>unix_socket_directories</></link>,
|
|
|
|
which accepts a list of directories.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:50:56 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-04-20 22:50:56 +02:00
|
|
|
Allow a directory of configuration files to be processed (Magnus
|
|
|
|
Hagander, Greg Smith, Selena Deckelmann)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Such a directory is specified with <link
|
|
|
|
linkend="config-includes"><varname>include_dir</></link> in the server
|
2013-05-03 20:48:12 +02:00
|
|
|
configuration file.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This is the maximum value that initdb will attempt to set in <link
|
2013-05-04 01:40:23 +02:00
|
|
|
linkend="config-setting-configuration-file"><filename>postgresql.conf</></link>;
|
2013-05-06 22:02:37 +02:00
|
|
|
the previous maximum was 32MB.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Remove the <link linkend="guc-external-pid-file">external
|
|
|
|
<acronym>PID</> file</link> on postmaster exit (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-20 22:50:56 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Replication and Recovery</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
2013-04-20 22:50:56 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 17:52:18 +02:00
|
|
|
Allow a streaming replication standby to <link
|
2013-05-04 01:40:23 +02:00
|
|
|
linkend="protocol-replication">follow a timeline switch</link>
|
2013-05-03 20:48:12 +02:00
|
|
|
(Heikki Linnakangas)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This allows streaming standbys to feed from newly-promoted slaves.
|
2013-05-03 20:48:12 +02:00
|
|
|
Previously slaves required access to a <acronym>WAL</> archive directory to
|
2013-04-20 22:50:56 +02:00
|
|
|
accomplish this.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <acronym>SQL</> functions <link
|
|
|
|
linkend="functions-admin-backup"><function>pg_is_in_backup()</></link>
|
2013-05-04 02:55:03 +02:00
|
|
|
and <link
|
|
|
|
linkend="functions-admin-backup"><function>pg_backup_start_time()</></link>
|
|
|
|
(Gilles Darold)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
These functions report the status of base backups.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve performance of streaming log shipping with <link
|
|
|
|
linkend="guc-synchronous-commit"><varname>synchronous_commit</></link>
|
|
|
|
disabled (Andres Freund)
|
2013-04-22 03:05:31 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-22 16:22:43 +02:00
|
|
|
Allow much faster promotion of a streaming standby to primary (Simon
|
|
|
|
Riggs, Kyotaro Horiguchi)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add the last checkpoint's redo location to <link
|
|
|
|
linkend="APP-PGCONTROLDATA"><application>pg_controldata</></link>'s
|
|
|
|
output (Fujii Masao)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
This information is useful for determining the <acronym>WAL</>
|
|
|
|
files needed for restore.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 17:52:18 +02:00
|
|
|
Allow tools like <link
|
2013-05-04 01:40:23 +02:00
|
|
|
linkend="app-pgreceivexlog"><application>pg_receivexlog</></link>
|
|
|
|
to run on computers with different architectures (Heikki
|
|
|
|
Linnakangas)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-05-06 22:02:37 +02:00
|
|
|
|
|
|
|
<para>
|
|
|
|
WAL files can still only be replayed on servers with the same
|
|
|
|
architecture as the primary; but they can now be transmitted to and
|
|
|
|
stored on machines of any architecture, since the
|
|
|
|
streaming replication protocol is now machine-independent.
|
|
|
|
</para>
|
2013-04-20 22:32:32 +02:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Have <link
|
|
|
|
linkend="app-pgbasebackup"><application>pg_basebackup</></link>
|
|
|
|
<option>--write-recovery-conf</> output a
|
|
|
|
minimal <filename>recovery.conf</> (Zoltán
|
2013-05-03 20:48:12 +02:00
|
|
|
Böszörményi, Magnus Hagander)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This simplifies setting up a standby server.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link
|
|
|
|
linkend="guc-wal-receiver-timeout"><varname>wal_receiver_timeout</></link>
|
|
|
|
parameter to control the <acronym>WAL</> receiver timeout
|
|
|
|
(Amit Kapila)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 16:47:10 +02:00
|
|
|
This allows more rapid detection of connection failure.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<sect4>
|
2013-05-04 01:40:23 +02:00
|
|
|
<title><link linkend="wal">Write-Ahead Log</link>
|
|
|
|
(<acronym>WAL</>)</title>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Change the <acronym>WAL</> record format to allow splitting the record header
|
2013-04-23 23:06:17 +02:00
|
|
|
across pages (Heikki Linnakangas)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
The new format is slightly more compact, and is more efficient to
|
|
|
|
write.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Queries</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Implement <acronym>SQL</>-standard <link
|
2013-05-06 22:02:37 +02:00
|
|
|
linkend="queries-lateral"><literal>LATERAL</></link> option for
|
2013-05-03 20:48:12 +02:00
|
|
|
<literal>FROM</>-clause subqueries and function calls (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This feature allows subqueries and functions in <literal>FROM</> to
|
|
|
|
reference columns from other tables in the <literal>FROM</>
|
2013-05-03 20:48:12 +02:00
|
|
|
clause. The <literal>LATERAL</> keyword is optional for functions.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Object Manipulation</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Add support for <link linkend="event-triggers">event triggers</link>
|
2013-05-04 01:40:23 +02:00
|
|
|
(Dimitri Fontaine, Robert Haas, Álvaro Herrera)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-18 17:01:55 +02:00
|
|
|
This allows server-side functions written in event-enabled
|
|
|
|
languages, e.g. C, PL/pgSQL, to be called when DDL commands
|
|
|
|
are run.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-21 03:13:13 +02:00
|
|
|
Allow a multirow <link
|
2013-05-06 22:02:37 +02:00
|
|
|
linkend="SQL-VALUES"><literal>VALUES</></link> clause in a rule
|
2013-05-04 01:40:23 +02:00
|
|
|
to reference <literal>OLD</>/<literal>NEW</> (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="SQL-CREATESCHEMA"><command>CREATE SCHEMA ... IF
|
|
|
|
NOT EXISTS</></link> clause (Fabrízio de Royes Mello)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Have <link linkend="SQL-REASSIGN-OWNED"><command>REASSIGN
|
|
|
|
OWNED</></link> also change ownership of shared objects
|
|
|
|
(Álvaro Herrera)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
2013-04-20 22:50:56 +02:00
|
|
|
<sect4>
|
|
|
|
<title><link linkend="SQL-CREATETABLE"><command>CREATE TABLE</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Suppress messages about implicit index and sequence creation
|
|
|
|
(Robert Haas)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
These messages now appear at <literal>DEBUG1</> verbosity, so that
|
|
|
|
they will not be shown by default.
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-21 04:38:37 +02:00
|
|
|
Allow <link linkend="SQL-DROPTABLE"><command>DROP TABLE IF
|
|
|
|
EXISTS</> to succeed when a non-existent schema is specified
|
|
|
|
in the table name (Bruce Momjian)
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-21 15:05:16 +02:00
|
|
|
Previously, it threw an error if the schema did not exist.
|
2013-04-20 22:50:56 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<sect4>
|
|
|
|
<title>Constraints</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Provide clients with <link
|
|
|
|
linkend="libpq-pqresulterrorfield">constraint violation details</link>
|
|
|
|
as separate fields (Pavel Stehule)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This allows clients to retrieve table, column, data type, or constraint
|
2013-05-04 01:40:23 +02:00
|
|
|
name error details. Previously such information had to be extracted from
|
2013-05-06 22:02:37 +02:00
|
|
|
error strings. Client library support is required to access these
|
2013-04-20 22:32:32 +02:00
|
|
|
fields.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><command>ALTER</></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Support <literal>IF NOT EXISTS</> option in <link
|
|
|
|
linkend="SQL-ALTERTYPE"><command>ALTER TYPE ... ADD VALUE</></link>
|
2013-05-04 01:40:23 +02:00
|
|
|
(Andrew Dunstan)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This is useful for conditionally adding values to enumerated types.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="SQL-ALTERROLE"><command>ALTER ROLE ALL
|
|
|
|
SET</></link> to add settings to all users (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add support for <link linkend="SQL-ALTERRULE"><command>ALTER RULE
|
|
|
|
... RENAME</></link> (Ali Dar)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="rules-views"><command>VIEWs</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Add <link linkend="SQL-CREATEMATERIALIZEDVIEW">materialized
|
|
|
|
views</link> (Kevin Grittner)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-21 06:57:18 +02:00
|
|
|
Unlike ordinary views, where the base tables are read on every access,
|
2013-04-20 23:31:06 +02:00
|
|
|
materialized views create physical tables at creation or refresh time.
|
2013-05-06 22:02:37 +02:00
|
|
|
Access to the materialized view then reads from its physical
|
|
|
|
table. There is not yet any facility for incrementally refreshing
|
|
|
|
materialized views or auto-accessing them via base table access.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Make simple views <link
|
|
|
|
linkend="SQL-CREATEVIEW-updatable-views">auto-updatable</link>
|
|
|
|
(Dean Rasheed)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Improve view/rule printing code to handle cases where referenced
|
|
|
|
tables are renamed, or columns are renamed, added, or dropped
|
|
|
|
(Tom Lane)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Table and column renamings can produce cases where, if we merely
|
|
|
|
substitute the new name into the original text of a rule or view, the
|
|
|
|
result is ambiguous. This patch fixes the rule-dumping code to insert
|
|
|
|
table and column aliases if needed to preserve the original semantics.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="SQL-CREATEVIEW"><command>CREATE RECURSIVE
|
|
|
|
VIEW</></link> syntax (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Internally this is translated into <command>CREATE VIEW ... WITH
|
2013-05-06 22:02:37 +02:00
|
|
|
RECURSIVE ...</>.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Data Types</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Increase the maximum length of <link linkend="lo-open">large
|
|
|
|
objects</link> from 2GB to 4TB (Nozomi Anzai, Yugo Nagata)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This change includes new libpq and server-side 64-bit-capable
|
|
|
|
large object access functions.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow text <link linkend="datatype-timezones">timezone
|
|
|
|
designations</link>, e.g. <quote>America/Chicago</> when using
|
2013-05-21 03:13:13 +02:00
|
|
|
the <acronym>ISO</> <quote>T</> <type>timestamptz</type> format (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<sect4>
|
2013-05-04 01:40:23 +02:00
|
|
|
<title><link linkend="datatype-json"><type>JSON</></link></title>
|
2013-04-20 23:31:06 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="functions-json">operators and functions</link>
|
|
|
|
to extract values from <type>JSON</> data strings (Andrew Dunstan)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow <type>JSON</> data strings to be <link
|
|
|
|
linkend="functions-json-table">converted into records</link>
|
|
|
|
(Andrew Dunstan)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="functions-json-table">functions</link>
|
|
|
|
to convert values, records, and hstore data to <type>JSON</>
|
|
|
|
(Andrew Dunstan)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
</sect4>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
</sect3>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<sect3>
|
|
|
|
<title>Functions</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link
|
|
|
|
linkend="array-functions-table"><function>array_remove()</></link>
|
|
|
|
and <link
|
|
|
|
linkend="array-functions-table"><function>array_replace()</></link>
|
2013-05-03 20:48:12 +02:00
|
|
|
functions (Marco Nenciarini, Gabriele Bartolini)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-20 23:31:06 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <link
|
|
|
|
linkend="functions-string-format"><function>format()</></link>
|
|
|
|
to handle field width and left/right alignment (Pavel Stehule)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Previously the behavior was either wrong or inconsistent
|
|
|
|
with positive/<acronym>AD</> handling, e.g. format mask
|
|
|
|
<quote>IYYY-IW-DY</>.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Have <link
|
|
|
|
linkend="functions-formatting-table"><function>to_date()</></link>
|
|
|
|
and <link
|
|
|
|
linkend="functions-formatting-table"><function>to_timestamp()</></link>
|
2013-05-03 20:48:12 +02:00
|
|
|
return proper results when mixing <acronym>ISO</> and Gregorian
|
|
|
|
week/day designations (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Cause <link
|
|
|
|
linkend="functions-info-catalog-table"><function>pg_get_viewdef()</></link>
|
2013-05-06 22:02:37 +02:00
|
|
|
to start a new line by default after each <link
|
|
|
|
linkend="SQL-SELECT"><command>SELECT</></link> target list entry and
|
2013-05-04 01:40:23 +02:00
|
|
|
<literal>FROM</> entry (Marko Tiikkaja)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This reduces line length in view printing, for instance in <link
|
|
|
|
linkend="APP-PGDUMP"><application>pg_dump</></link> output.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Fix <function>map_sql_value_to_xml_value()</> to print values of
|
|
|
|
domain types the same way their base type would be printed
|
|
|
|
(Pavel Stehule)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
There are special formatting rules for certain built-in types such as
|
|
|
|
<type>boolean</>; these rules now also apply to domains over these
|
|
|
|
types.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Force cached functions to be replanned if the <link
|
|
|
|
linkend="guc-search-path"><varname>search_path</></link> changes
|
|
|
|
(Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-21 15:05:16 +02:00
|
|
|
Previously functions already run in the current session ignored
|
2013-05-03 20:48:12 +02:00
|
|
|
<varname>search_path</> changes.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Server-Side Languages</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="plpgsql">PL/pgSQL</link> Server-Side Language</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Allow PL/pgSQL to use <literal>RETURN</> with a composite-type
|
2013-05-06 22:02:37 +02:00
|
|
|
expression (Asif Rehman)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Previously, in a function returning a composite type,
|
|
|
|
<literal>RETURN</> could only reference a variable of that type.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Allow PL/pgSQL to access the number of rows processed by
|
2013-05-04 01:40:23 +02:00
|
|
|
<link linkend="SQL-COPY"><command>COPY</></link> (Pavel Stehule)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
The command is <link
|
|
|
|
linkend="plpgsql-statements-diagnostics"><command>GET DIAGNOSTICS
|
|
|
|
x = ROW_COUNT</></link>.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 23:31:06 +02:00
|
|
|
Allow greater flexibility in where keywords can be used in PL/pgSQL (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="plpython">PL/Python</link> Server-Side Language</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 23:31:06 +02:00
|
|
|
Add PL/Python result object string handler (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-21 03:13:13 +02:00
|
|
|
This allows <literal>plpy.debug(rv)</literal> to output something reasonable.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Make PL/Python convert OID values to a proper Python numeric type
|
2013-05-04 01:40:23 +02:00
|
|
|
(Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Handle <link linkend="spi"><acronym>SPI</></link> errors raised
|
2013-05-06 22:02:37 +02:00
|
|
|
explicitly (with PL/Python's <literal>RAISE</>) the same as
|
2013-05-04 01:40:23 +02:00
|
|
|
internal <acronym>SPI</> errors (Oskari Saarenmaa and Jan Urbanski)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Client Applications</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
This is similar to the <link
|
|
|
|
linkend="APP-PGDUMP"><application>pg_dump</></link> <option>--table</>
|
2013-05-06 22:02:37 +02:00
|
|
|
option.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <option>--dbname</> option to <link
|
|
|
|
linkend="APP-PG-DUMPALL"><application>pg_dumpall</></link>, <link
|
2013-05-06 22:02:37 +02:00
|
|
|
linkend="app-pgbasebackup"><application>pg_basebackup</></link>, and
|
2013-05-04 01:40:23 +02:00
|
|
|
<link
|
|
|
|
linkend="app-pgreceivexlog"><application>pg_receivexlog</></link>
|
2013-05-03 20:48:12 +02:00
|
|
|
to specify the connection string (Amit Kapila)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add libpq function <link
|
|
|
|
linkend="libpq-pqconninfo"><function>PQconninfo()</></link>
|
|
|
|
to return connection information (Zoltán
|
|
|
|
Böszörményi, Magnus Hagander)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="APP-PSQL"><application>psql</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Adjust function cost settings so <application>psql</> tab
|
|
|
|
completion and pattern searching is more efficient (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <application>psql</> tab completion coverage (Jeff Janes,
|
|
|
|
Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Allow the <application>psql</> <option>--single-transaction</> mode to work when
|
|
|
|
reading from standard input (Fabien Coelho, Robert Haas)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-20 23:31:06 +02:00
|
|
|
Previously this option only worked when reading from a file.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Remove <application>psql</> warning when connecting to an older
|
|
|
|
server (Peter Eisentraut)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The warning when connecting to a newer server was retained.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<sect5>
|
2013-05-04 01:40:23 +02:00
|
|
|
<title><link linkend="R2-APP-PSQL-4">Backslash Commands</link></title>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add <application>psql</> <command>\watch</> command to repeatedly
|
|
|
|
execute commands (Will Leinweber)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add <application>psql</> command <command>\gset</> to store query
|
|
|
|
results in <application>psql</> variables (Pavel Stehule)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-20 23:31:06 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add <acronym>SSL</> information to <application>psql</>'s
|
|
|
|
<command>\conninfo</> command (Alastair Turner)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <quote>Security</> label to <application>psql</> <command>\df+</>
|
2013-05-03 20:48:12 +02:00
|
|
|
output (Jon Erdman)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Allow <application>psql</> <command>\l</> to accept a database
|
|
|
|
name pattern (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-20 23:31:06 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
In <application>psql</>, do not allow <command>\connect</> to
|
|
|
|
use defaults if there is no active connection (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-20 23:31:06 +02:00
|
|
|
This might be the case if the server had crashed.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Properly reset state if the SQL command executed with
|
|
|
|
<application>psql</>'s <quote>\g file</> fails (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Previously, the output from subsequent SQL commands would unexpectedly
|
|
|
|
continue to go to the same file.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect5>
|
|
|
|
|
|
|
|
<sect5>
|
|
|
|
<title>Output</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add a <literal>latex-longtable</> output format to
|
|
|
|
<application>psql</> (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This format allows tables to span multiple pages.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add a <literal>border=3</> output mode to the <application>psql</>
|
|
|
|
<literal>latex</> format (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
In <application>psql</> tuples-only and expanded modes, no longer
|
|
|
|
output <quote>(No rows)</> (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
In <application>psql</>, no longer print an empty line for
|
|
|
|
unaligned, expanded output for zero rows (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect5>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="APP-PGDUMP"><application>pg_dump</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Add <application>pg_dump</> <option>--jobs</> option to dump tables in
|
|
|
|
parallel (Joachim Wieland)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Have <application>pg_dump</> output functions in a more predictable
|
2013-05-03 20:48:12 +02:00
|
|
|
order (Joel Jacobson)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add <option>--dbname</> option to <application>pg_dump</>, for
|
|
|
|
consistency with other client commands (Heikki Linnakangas)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The database name could already be supplied last without a flag.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="APP-INITDB"><application>initdb</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 23:31:06 +02:00
|
|
|
Have initdb fsync the newly created data directory (Jeff Davis)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
This can be disabled by using <option>--nosync</>.
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add initdb <option>--sync-only</> option to sync the data directory to durable
|
2013-04-20 23:31:06 +02:00
|
|
|
storage (Bruce Momjian)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
This is used by <link
|
|
|
|
linkend="pgupgrade"><application>pg_upgrade</></link>.
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Have initdb issue a warning about placing the data directory at the
|
2013-05-06 22:02:37 +02:00
|
|
|
top of a file system mount point (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Source Code</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-20 23:31:06 +02:00
|
|
|
Add an embedded list interface (Andres Freund)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add infrastructure to better support plug-in <link
|
|
|
|
linkend="bgworker">background worker processes</link>
|
|
|
|
(Álvaro Herrera)
|
2013-04-21 06:57:18 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Create a centralized timeout <acronym>API</> (Zoltán
|
|
|
|
Böszörményi)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Create libpgcommon and move <function>pg_malloc()</> and other
|
|
|
|
functions there (Álvaro Herrera, Andres Freund)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This allows libpgport to be used solely for porting code.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-21 06:57:18 +02:00
|
|
|
Standardize on naming of client-side memory allocation functions (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add compiler designations to indicate some <function>ereport()</>
|
|
|
|
and <function>elog()</> calls do not return (Peter Eisentraut,
|
|
|
|
Andres Freund, Tom Lane, Heikki Linnakangas)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-21 15:05:16 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add isolation tests for <link
|
|
|
|
linkend="SQL-CREATEINDEX"><command>CREATE INDEX
|
|
|
|
CONCURRENTLY</></link> (Abhijit Menon-Sen)
|
2013-04-21 15:05:16 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Remove typedefs for <type>int2</>/<type>int4</> as they are better
|
|
|
|
represented as <type>int16</>/<type>int32</> (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Fix <link linkend="install">install-strip</link> on Mac <productname>OS
|
|
|
|
X</> (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Remove <link linkend="configure">configure</link> flag
|
|
|
|
<option>--disable-shared</>, as it is no longer used (Bruce
|
|
|
|
Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Rewrite pgindent in <application>Perl</> (Andrew Dunstan)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-20 23:31:06 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-21 03:13:13 +02:00
|
|
|
Add Emacs macro to match <productname>PostgreSQL</> perltidy
|
2013-05-03 20:48:12 +02:00
|
|
|
formatting (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Run tool to check the keyword list when the backend grammar is
|
|
|
|
changed (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Centralize <application>flex</> and <application>bison</>
|
|
|
|
<application>make</> rules (Peter Eisentraut)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
This is useful for <application>pgxs</> authors.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Support <function>Assert()</> in client-side code (Andrew Dunstan)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Change many internal backend functions to return <type>OID</>s
|
2013-05-04 01:40:23 +02:00
|
|
|
rather than void (Dimitri Fontaine)
|
2013-04-20 22:32:32 +02:00
|
|
|
</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>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add function <link
|
|
|
|
linkend="functions-info-catalog-table"><function>pg_identify_object()</></link>
|
|
|
|
to dump an object in machine-readable format (Álvaro
|
|
|
|
Herrera)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Add post-<command>ALTER</>-object server hooks (KaiGai Kohei)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-22 20:33:28 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Implement a generic binary heap and use it for Merge-Append
|
|
|
|
operations (Abhijit Menon-Sen)
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-21 06:57:18 +02:00
|
|
|
Improve ability to detect official timezone abbreviation changes
|
|
|
|
(Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <application>pkg-config</> support <application>libpq</>
|
|
|
|
and <application>ecpg</> libraries (Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Remove <filename>src/tool/backend</>, now that the content is on
|
|
|
|
the <productname>PostgreSQL</> wiki (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Split out <link linkend="wal"><acronym>WAL</></link> reading as
|
|
|
|
an independent facility (Heikki Linnakangas, Andres Freund)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-23 23:06:17 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Use a 64-bit integer to represent <link
|
|
|
|
linkend="wal"><acronym>WAL</></link> positions
|
|
|
|
(<structname>XLogRecPtr</>) instead of two 32-bit integers
|
|
|
|
(Heikki Linnakangas)
|
2013-04-23 23:06:17 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Generally, tools that need to read the <acronym>WAL</> format
|
|
|
|
will need to be adjusted.
|
2013-04-23 23:06:17 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 23:31:06 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow <link linkend="plpython">PL/Python</link> to support
|
|
|
|
platform-specific include directories (Peter Eisentraut)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow <link linkend="plpython">PL/Python</link> on <productname>OS
|
|
|
|
X</> to build against custom versions of <application>Python</>
|
|
|
|
(Peter Eisentraut)
|
2013-04-20 23:31:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Additional Modules</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
2013-05-03 01:14:20 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Allow <link linkend="SQL-CREATEFOREIGNDATAWRAPPER">foreign data
|
|
|
|
wrappers</link> to support writes (inserts/updates/deletes) on foreign
|
|
|
|
tables (KaiGai Kohei)
|
2013-05-03 01:14:20 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add a <productname>Postgres</> <link linkend="postgres-fdw">foreign
|
|
|
|
data wrapper</link> contrib module (Shigeru Hanada)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This foreign data wrapper supports writes.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="pgxlogdump"><application>pg_xlogdump</></link>
|
|
|
|
contrib program (Andres Freund)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-04-21 06:57:18 +02:00
|
|
|
Add support for indexing of regular-expression searches in
|
2013-05-06 22:02:37 +02:00
|
|
|
<link linkend="pgtrgm"><productname>pg_trgm</></link>
|
2013-05-04 01:40:23 +02:00
|
|
|
(Alexander Korotkov)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <link linkend="pgtrgm"><productname>pg_trgm</></link>
|
|
|
|
handling of multibyte characters (Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-22 20:33:28 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="pgstattuple">pgstattuple function</link> to report the
|
|
|
|
size of the <type>GIN</> pending index insertion list (Fujii Masao)
|
2013-04-22 20:33:28 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
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)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve output of <link
|
|
|
|
linkend="pgtesttiming"><application>pg_test_timing</></link>
|
|
|
|
(Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-21 06:57:18 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-21 06:57:18 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve output of <link
|
|
|
|
linkend="pgtestfsync"><application>pg_test_fsync</></link>
|
|
|
|
(Peter Geoghegan)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <link linkend="dblink">dblink</link> option validator
|
|
|
|
(Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-04-21 06:57:18 +02:00
|
|
|
Details?
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="pgupgrade"><application>pg_upgrade</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Allow <application>pg_upgrade</> <option>--jobs</> to do
|
|
|
|
parallelism (Bruce Momjian)
|
2013-04-21 06:57:18 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This allows parallel schema dump/restore of databases, as well as
|
|
|
|
parallel copy/link of data files per tablespace.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-21 03:13:13 +02:00
|
|
|
Have <application>pg_upgrade</> create Unix-domain sockets in
|
2013-05-03 20:48:12 +02:00
|
|
|
the current directory (Bruce Momjian, Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This reduces the possibility that someone will accidentally connect
|
|
|
|
during the upgrade.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Have <application>pg_upgrade</> <option>--check</> mode properly
|
|
|
|
detect the location of non-default socket directories (Bruce
|
|
|
|
Momjian, Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Improve performance of <application>pg_upgrade</> for databases
|
|
|
|
with many tables (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Increase <application>pg_upgrade</> logging content by showing
|
|
|
|
executed command (Álvaro Herrera)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <application>pg_upgrade</>'s status display during
|
|
|
|
copy/link (Bruce Momjian)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title><link linkend="pgbench"><application>pgbench</></link></title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
2013-04-21 06:57:18 +02:00
|
|
|
|
2013-04-20 22:32:32 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Add <option>--foreign-keys</> option to <application>pgbench</>
|
|
|
|
(Jeff Janes)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
This adds foreign key constraints to the standard tables created by
|
|
|
|
<application>pgbench</>, for use in foreign key performance testing.
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow <application>pgbench</> to aggregate performance statistics
|
2013-05-06 22:02:37 +02:00
|
|
|
and produce output every <option>--aggregate-interval</>
|
2013-05-04 01:40:23 +02:00
|
|
|
seconds (Tomas Vondra)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-06 22:02:37 +02:00
|
|
|
Add <application>pgbench</> <option>--sampling-rate</> option
|
2013-05-04 01:40:23 +02:00
|
|
|
to control the percentage of transactions logged (Tomas Vondra)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Reduce and improve the status message output of
|
|
|
|
<application>pgbench</>'s initialization mode (Robert Haas,
|
|
|
|
Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-04-21 06:57:18 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-04-21 06:57:18 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <application>pgbench</> <option>-q</> mode to print one output
|
|
|
|
line every five seconds (Tomas Vondra)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
2013-05-06 22:02:37 +02:00
|
|
|
</listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
|
2013-05-06 22:02:37 +02:00
|
|
|
<listitem>
|
2013-04-20 22:32:32 +02:00
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Output <application>pgbench</> elapsed and estimated remaining
|
2013-05-06 22:02:37 +02:00
|
|
|
time during initialization (Tomas Vondra)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Allow <application>pgbench</> to use a larger scale factor
|
|
|
|
(Greg Smith)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Documentation</title>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-03 20:48:12 +02:00
|
|
|
Allow <productname>EPUB</>-format documentation to be created
|
|
|
|
(Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Update <productname>FreeBSD</> kernel configuration documentation
|
|
|
|
(Brad Davis)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <link linkend="tutorial-window"><literal>WINDOW</>
|
|
|
|
function</link> documentation (Bruce Momjian, Tom Lane)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Add <link linkend="docguide">instructions</link> for setting
|
|
|
|
up the documentation tool chain on Mac <productname>OS X</>
|
|
|
|
(Peter Eisentraut)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-05-04 01:40:23 +02:00
|
|
|
Improve <link
|
|
|
|
linkend="guc-commit-delay"><varname>commit_delay</></link>
|
|
|
|
documentation (Peter Geoghegan)
|
2013-04-20 22:32:32 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|