Commit 062f5351 authored by Bruce Momjian's avatar Bruce Momjian

docs: 9.4 release notes adjustments

Patch by Andres Freund, slight adjustments by me
parent f35aef41
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
<listitem> <listitem>
<para> <para>
Logical change-set extraction allows database <link linkend="logicaldecoding">Logical decoding</link> allows database
changes to be optionally recorded in <emphasis>logical</> format changes to be streamed out in customizable format
</para> </para>
</listitem> </listitem>
...@@ -221,6 +221,17 @@ ...@@ -221,6 +221,17 @@
</para> </para>
</listitem> </listitem>
<listitem>
<para>
Handle domains over arrays like plain arrays in PL/Python
(Rodolfo Campero)
</para>
<para>
Previously they were treated as strings.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Have libpq's <link Have libpq's <link
...@@ -263,6 +274,15 @@ ...@@ -263,6 +274,15 @@
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The maximum number of <link linkend="bgworker">background workers</link>
that can be registered
by <function>RegisterBackgroundWorker()</function> is now limited to
<link linkend="guc-max-worker-processes"><varname>max_worker_processes</></link>
</para>
</listitem>
</itemizedlist> </itemizedlist>
</sect2> </sect2>
...@@ -452,15 +472,15 @@ ...@@ -452,15 +472,15 @@
<listitem> <listitem>
<para> <para>
<link linkend="vacuum-for-wraparound">Freeze</link> Attempt to <link linkend="vacuum-for-wraparound">freeze</link>
tuples when tables are written with <link tuples when tables are rewritten with <link
linkend="SQL-CLUSTER"><command>CLUSTER</></link> or <link linkend="SQL-CLUSTER"><command>CLUSTER</></link> or <link
linkend="SQL-VACUUM"><command>VACUUM FULL</></link> (Robert Haas, linkend="SQL-VACUUM"><command>VACUUM FULL</></link> (Robert Haas,
Andres Freund) Andres Freund)
</para> </para>
<para> <para>
This avoids the need to freeze the tuples in the future. This can avoid the need to freeze the tuples in the future.
</para> </para>
</listitem> </listitem>
...@@ -545,12 +565,9 @@ ...@@ -545,12 +565,9 @@
<listitem> <listitem>
<para> <para>
Add <structfield>xid</> and <link Add <varname>backend_xid</> and <varname>backend_xmin</> columns to
linkend="ddl-system-columns"><structfield>xmin</></link> the system view <link linkend="pg-stat-activity-view"><structname>pg_stat_activity</></link>
to system views <link and <varname>backend_xmin</> to <link linkend="pg-stat-replication-view"><structname>pg_stat_replication</></link>
linkend="pg-stat-activity-view"><structname>pg_stat_activity</></link>
and <link
linkend="pg-stat-replication-view"><structname>pg_stat_replication</></link>
(Christian Kruse) (Christian Kruse)
</para> </para>
</listitem> </listitem>
...@@ -571,10 +588,10 @@ ...@@ -571,10 +588,10 @@
</para> </para>
<para> <para>
Such keys are faster and have improved security Such keys are faster and have improved security over previous
over previous options. New variable <link options. The new configuration
linkend="guc-ssl-ecdh-curve"><varname>ssl_ecdh_curve</></link> parameter <link linkend="guc-ssl-ecdh-curve"><varname>ssl_ecdh_curve</></link>
controls the curve that is used. controls which curve is used.
</para> </para>
</listitem> </listitem>
...@@ -617,15 +634,14 @@ ...@@ -617,15 +634,14 @@
<listitem> <listitem>
<para> <para>
Add <acronym>SQL</>-level command <link Add <acronym>SQL</>-level <link
linkend="SQL-ALTERSYSTEM"><command>ALTER SYSTEM</></link> command linkend="SQL-ALTERSYSTEM"><command>ALTER SYSTEM</></link> command
to edit the <filename>postgresql.conf</> configuration file to adjust server-wide settings (Amit Kapila)
(Amit Kapila)
</para> </para>
<para> <para>
Previously <filename>postgresql.conf</> could only be edited at Previously such settings could only be changed by
the file system level. editing <filename>postgresql.conf</> at the file system level.
</para> </para>
</listitem> </listitem>
...@@ -680,8 +696,8 @@ ...@@ -680,8 +696,8 @@
</para> </para>
<para> <para>
Hint bits are not normally logged, except when checksums are Hint bits are not normally logged, except when checksums are enabled.
enabled. This is useful for tools like <application>pg_rewind</>. This is useful for external tools like <application>pg_rewind</>.
</para> </para>
</listitem> </listitem>
...@@ -702,9 +718,10 @@ ...@@ -702,9 +718,10 @@
</para> </para>
<para> <para>
Such libraries are auto-<link In contrast
linkend="SQL-LOAD"><command>LOAD</></link>'ed, unlike <link to <link linkend="guc-local-preload-libraries"><varname>local_preload_libraries</></link>,
linkend="guc-local-preload-libraries"><varname>local_preload_libraries</></link>. this parameter can load any shared library, not just those in
the <filename>$libdir/plugins</> directory.
</para> </para>
</listitem> </listitem>
...@@ -775,16 +792,14 @@ ...@@ -775,16 +792,14 @@
<listitem> <listitem>
<para> <para>
Add <link Add <link linkend="recovery-config"><filename>recovery.conf</></link>
linkend="recovery-config"><filename>recovery.conf</></link> parameter <link linkend="recovery-min-apply-delay"><varname>recovery_min_apply_delay</></link>
parameter <link to delay replication (Robert Haas, Fabr&iacute;zio de Royes Mello,
linkend="recovery-min-apply-delay"><varname>recovery_min_apply_delay</></link> Simon Riggs)
to force delayed replication (Robert Haas, Fabr&iacute;zio de
Royes Mello, Simon Riggs)
</para> </para>
<para> <para>
This is useful for delaying replaying of user errors on standby This is useful for delaying the replay of user errors on standby
servers. servers.
</para> </para>
</listitem> </listitem>
...@@ -793,11 +808,9 @@ ...@@ -793,11 +808,9 @@
<para> <para>
Add <link Add <link
linkend="recovery-target"><varname>recovery_target</></link> linkend="recovery-target"><varname>recovery_target</></link>
option <option>immediate</> option to replay option <option>immediate</> to stop <link
<link linkend="wal"><acronym>WAL</></link> stop linkend="wal"><acronym>WAL</></link> recovery as soon as a
recovery when a consistent state is reached, i.e. <link consistent state is reached (MauMau, Heikki Linnakangas)
linkend="functions-admin-backup-table"><function>pg_stop_backup()</></link>
(MauMau, Heikki Linnakangas)
</para> </para>
</listitem> </listitem>
...@@ -807,11 +820,11 @@ ...@@ -807,11 +820,11 @@
</para> </para>
<para> <para>
The timestamp reported by <link The timestamp reported
linkend="functions-recovery-info-table"><function>pg_last_xact_replay_timestamp()</></link> by <link linkend="functions-recovery-info-table"><function>pg_last_xact_replay_timestamp()</></link>
now shows information about committed records, not commits being now shows information about already-committed records, not of transactions
replayed. Recovering to restore points now replay the restore about to be committed. Recovering to a restore point now replays the
point, rather than stop just before the restore point. restore point, rather than stopping just before the restore point.
</para> </para>
</listitem> </listitem>
...@@ -831,8 +844,8 @@ ...@@ -831,8 +844,8 @@
<listitem> <listitem>
<para> <para>
Add <link linkend="streaming-replication-slots">replication Add <link linkend="streaming-replication-slots">replication
slots</link> to report the <acronym>WAL</> activity on streaming slots</link> to coordinate activity on streaming standbys with the
standbys (Andres Freund, Robert Haas) node they are streaming from (Andres Freund, Robert Haas)
</para> </para>
<para> <para>
...@@ -872,19 +885,18 @@ ...@@ -872,19 +885,18 @@
</itemizedlist> </itemizedlist>
<sect4> <sect4>
<title><link linkend="logicaldecoding">Logical Change-Set Extraction</></title> <title><link linkend="logicaldecoding">Logical Decoding</></title>
<para> <para>
Logical change-set extraction allows database Logical decoding allows database changes to be optionally streamed in a
changes to be optionally recorded in <emphasis>logical</> format configurable format. The data is read from
in the <link linkend="wal"><acronym>WAL</></link>. This format can the <link linkend="wal"><acronym>WAL</></link> and transformed into the
be easily processed by external tools. In previous releases, only desired target format. To implement this feature, the following changes
binary changes were recorded in the <acronym>WAL</>. To implement were made:
this feature, the following changes were made:
</para> </para>
<itemizedlist> <itemizedlist>
<!-- FIXME: This imo needs a pretty fundamental rewrite -->
<listitem> <listitem>
<para> <para>
Add new <option>logical</> <link Add new <option>logical</> <link
...@@ -953,15 +965,15 @@ ...@@ -953,15 +965,15 @@
<listitem> <listitem>
<para> <para>
Add <link linkend="queries-tablefunctions"><literal>ROWS Add <link linkend="queries-tablefunctions"><literal>ROWS
FROM</></link> syntax to allow horizontal concatenation of FROM()</></link> syntax to allow horizontal concatenation of
<literal>FROM</>-clause set-returning functions (Andrew Gierth) set-returning functions in the <literal>FROM</>-clause (Andrew Gierth)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add <link linkend="queries-tablefunctions"><literal>WITH Add <link linkend="queries-tablefunctions"><literal>WITH
ORDINALITY</></link> which numbers rows returned from ORDINALITY</></link> syntax which numbers rows returned from
<literal>FROM</>-clause functions (Andrew Gierth, David Fetter) <literal>FROM</>-clause functions (Andrew Gierth, David Fetter)
</para> </para>
...@@ -978,8 +990,9 @@ ...@@ -978,8 +990,9 @@
</para> </para>
<para> <para>
This was added for consistency, and so querying tables with no <!-- FIXME: drop? -->
columns would not produce an error. This was added so views that select from a table with zero columns
can be dumped correctly.
</para> </para>
</listitem> </listitem>
...@@ -1000,14 +1013,16 @@ ...@@ -1000,14 +1013,16 @@
</para> </para>
<para> <para>
<!-- FIXME: compatibility break entry? -->
<command>DISCARD ALL</> will now also discard such information. <command>DISCARD ALL</> will now also discard such information.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow quoted strings matching the null string to be converted Add <command>FORCE NULL</> option
to NULL in <link linkend="SQL-COPY"><command>COPY FROM</></link> to <link linkend="SQL-COPY"><command>COPY FROM</></link> which causes
quoted strings matching the null string to be converted to NULL in
in <literal>CSV</> mode (Ian Barwick, Michael Paquier) in <literal>CSV</> mode (Ian Barwick, Michael Paquier)
</para> </para>
...@@ -1019,14 +1034,13 @@ ...@@ -1019,14 +1034,13 @@
<listitem> <listitem>
<para> <para>
Issue warnings for <link linkend="SQL-SET"><command>SET</></link> Issue warnings for commands used outside of transaction blocks
outside of a transaction block, as they have no effect (Bruce because they have no effect (Bruce Momjian)
Momjian)
</para> </para>
<para> <para>
The cases are <literal>SET The cases are <literal>SET
LOCAL</>/<literal>CONSTRAINTS</>/<literal>TRANSACTION</> and LOCAL</>, <literal>SET CONSTRAINTS</>, <literal>SET TRANSACTION</> and
<literal>ABORT</>. <literal>ABORT</>.
</para> </para>
</listitem> </listitem>
...@@ -1083,9 +1097,9 @@ ...@@ -1083,9 +1097,9 @@
<listitem> <listitem>
<para> <para>
Allow <link linkend="SQL-CREATEVIEW-updatable-views">auto-updates Allow the updating of <link
on views</link> where only some columns are auto-updateable linkend="SQL-CREATEVIEW-updatable-views">views</link>
(Dean Rasheed) where only some columns are auto-updateable (Dean Rasheed)
</para> </para>
<para> <para>
...@@ -1147,8 +1161,8 @@ ...@@ -1147,8 +1161,8 @@
</para> </para>
<para> <para>
Previously, relations moved into the system catalog schema could Previously, relations once moved into the system catalog schema could
not be modified. no longer be modified or dropped.
</para> </para>
</listitem> </listitem>
...@@ -1204,7 +1218,8 @@ ...@@ -1204,7 +1218,8 @@
ON</>, <literal>SET WITHOUT CLUSTER</>, <literal>ALTER COLUMN ON</>, <literal>SET WITHOUT CLUSTER</>, <literal>ALTER COLUMN
SET STATISTICS</>, <literal>ALTER COLUMN</> <literal>SET</> SET STATISTICS</>, <literal>ALTER COLUMN</> <literal>SET</>
<option>(attribute_option)</>, <literal>ALTER COLUMN RESET</> <option>(attribute_option)</>, <literal>ALTER COLUMN RESET</>
<option>(attribute_option)</>. <option>(attribute_option)</> no longer require <literal>ACCESS
EXCLUSIVE</> locks.
</para> </para>
</listitem> </listitem>
...@@ -1375,8 +1390,8 @@ ...@@ -1375,8 +1390,8 @@
</para> </para>
<para> <para>
The functions being with <literal>make_</>, e.g. <link These functions are prefixed with <literal>make_</>,
linkend="functions-datetime-table"><function>make_date()</></link>. e.g. <link linkend="functions-datetime-table"><function>make_date()</></link>.
</para> </para>
</listitem> </listitem>
...@@ -1419,9 +1434,9 @@ ...@@ -1419,9 +1434,9 @@
<listitem> <listitem>
<para> <para>
Add functions for <structname>pg_class</>, Add functions for looking up objects in <structname>pg_class</>,
<structname>pg_proc</>, <structname>pg_type</>, and <structname>pg_proc</>, <structname>pg_type</>, and
<structname>pg_operator</> lookups that do not generate errors for <structname>pg_operator</> which do not generate errors for
non-existent objects (Yugo Nagata, Nozomi Anzai, non-existent objects (Yugo Nagata, Nozomi Anzai,
Robert Haas) Robert Haas)
</para> </para>
...@@ -1429,8 +1444,8 @@ ...@@ -1429,8 +1444,8 @@
<para> <para>
For example, <link For example, <link
linkend="functions-info-catalog-table"><function>to_regclass()</></link> linkend="functions-info-catalog-table"><function>to_regclass()</></link>
does error-free lookups of <structname>pg_class</>, and returns does lookups of <structname>pg_class</> and returns NULL for
NULL for lookup failures. non-existent objects.
</para> </para>
</listitem> </listitem>
...@@ -1509,6 +1524,7 @@ ...@@ -1509,6 +1524,7 @@
</listitem> </listitem>
<listitem> <listitem>
<!-- FIXME -->
<para> <para>
Allow polymorphic aggregates to have non-polymorphic state data Allow polymorphic aggregates to have non-polymorphic state data
types ? (Tom Lane) types ? (Tom Lane)
...@@ -1589,17 +1605,6 @@ ...@@ -1589,17 +1605,6 @@
<itemizedlist> <itemizedlist>
<listitem>
<para>
Handle domains over arrays like plain arrays in PL/Python
(Rodolfo Campero)
</para>
<para>
Previously they were treated as strings.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Convert <link linkend="datatype-numeric"><type>NUMERIC</></link>s Convert <link linkend="datatype-numeric"><type>NUMERIC</></link>s
...@@ -1676,9 +1681,9 @@ ...@@ -1676,9 +1681,9 @@
<listitem> <listitem>
<para> <para>
Allow <link linkend="APP-VACUUMDB"><application>vacuumdb</></link> Add <link linkend="APP-VACUUMDB"><application>vacuumdb</></link>
<option>--analyze-in-stages</> to analyze in stages of increasing option <option>--analyze-in-stages</> to analyze in stages of
granularity (Peter Eisentraut) increasing granularity (Peter Eisentraut)
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment