Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor version update to PostgreSQL 17.1 #524

Merged
merged 100 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
923a715
Fix psql describe commands' handling of ACL columns for old servers.
tglsfdc Sep 24, 2024
f33bf1c
Warn if LOCKTAG_TUPLE is held at commit, under debug_assertions.
nmisch Sep 24, 2024
fd27b87
Fix data loss at inplace update after heap_update().
nmisch Sep 24, 2024
3b7a689
For inplace update durability, make heap_update() callers wait.
nmisch Sep 24, 2024
85cb21d
vacuumdb: Skip temporary tables in query to build list of relations
michaelpq Sep 25, 2024
4e0864a
Remove extra whitespace in pg_upgrade status message.
nathan-bossart Sep 25, 2024
3e8c92c
Doc: InitPlans aren't parallel-restricted any more.
tglsfdc Sep 26, 2024
1532599
Fix incorrect memory access in VACUUM FULL with invalid toast indexes
michaelpq Sep 27, 2024
18cea25
doc: Note that CREATE MATERIALIZED VIEW restricts search_path.
nathan-bossart Sep 27, 2024
4aad471
Avoid 037_invalid_database.pl hang under debug_discard_caches.
nmisch Sep 27, 2024
da99df1
Remove NULL dereference from RenameRelationInternal().
nmisch Sep 29, 2024
77f1546
reindexdb: Skip reindexing temporary tables and indexes.
MasaoFujii Sep 30, 2024
6596a8c
Remove incorrect entries in pg_walsummary's getopt_long call.
tglsfdc Sep 30, 2024
f250cb2
Fix race condition in COMMIT PREPARED causing orphaned 2PC files
michaelpq Oct 1, 2024
a94d5b3
Doc: replace unnecessary non-breaking space with ordinal space.
tatsuo-ishii Oct 1, 2024
97dccef
doc: Clarify name of files generated by pg_waldump --save-fullpage
michaelpq Oct 2, 2024
c7a2010
Parse libpq's "keepalives" option more like other integer options.
tglsfdc Oct 2, 2024
d7d297f
Fix incorrect non-strict join recheck in MERGE WHEN NOT MATCHED BY SO…
deanrasheed Oct 3, 2024
34ae54a
Fix wrong varnullingrels error for MERGE WHEN NOT MATCHED BY SOURCE.
deanrasheed Oct 3, 2024
9c7acc3
Reject non-ASCII locale names.
macdice Oct 5, 2024
fee8cb9
Use generateClonedIndexStmt to propagate CREATE INDEX to partitions.
tglsfdc Oct 5, 2024
3daeb53
Ignore not-yet-defined Portals in pg_cursors view.
tglsfdc Oct 6, 2024
9181077
Fix fetching default toast value during decoding of in-progress trans…
Oct 7, 2024
a356d23
Fix Y2038 issues with MyStartTime.
nathan-bossart Oct 7, 2024
5bd26e6
vacuumdb: Schema-qualify operator in catalog query's WHERE clause.
nathan-bossart Oct 7, 2024
a8b2402
doc PG 17 relnotes: move adminpack item to incompatibilities
bmomjian Oct 8, 2024
2fe4167
Fix search_path cache initialization.
jeff-davis Oct 8, 2024
c4b8a91
Stabilize the test added by commit 022564f60c.
Oct 8, 2024
c5b9097
Remove incorrect function import from pgindent
danielgustafsson Oct 9, 2024
647e76c
doc: Fix mention of AT LOCAL in release notes
danielgustafsson Oct 9, 2024
a3c4a91
Avoid crash in estimate_array_length with null root pointer.
tglsfdc Oct 9, 2024
7e059fb
doc PG 17 relnotes: add missing commands for safe search path
bmomjian Oct 10, 2024
912d15c
doc PG 17 relnotes: clarify pg_upgrade and logical slot preserv.
bmomjian Oct 10, 2024
ff33df2
Fix missed case for builtin collation provider.
jeff-davis Oct 11, 2024
54889ea
Correctly identify which EC members are computable at a plan node.
tglsfdc Oct 12, 2024
8a61708
psql: Fix \watch when using interval values less than 1ms
michaelpq Oct 14, 2024
8aaca07
Add type cast to foreach_internal's loop variable.
nathan-bossart Oct 15, 2024
064e040
Fix typo in comment of transformJsonAggConstructor()
amitlan Oct 16, 2024
eef9cc4
Reduce memory block size for decoded tuple storage to 8kB.
MasahikoSawada Oct 16, 2024
b5eef75
Further refine _SPI_execute_plan's rule for atomic execution.
tglsfdc Oct 16, 2024
a30c1ca
Rewrite some regression queries for option checks with COPY
michaelpq Oct 16, 2024
c06a474
Fix validation of COPY FORCE_NOT_NULL/FORCE_NULL for the all-column c…
michaelpq Oct 16, 2024
e90d108
Fix whitespace
petere Oct 17, 2024
4ac5d33
Fix extreme skew detection in Parallel Hash Join.
macdice Oct 17, 2024
b8d08aa
Fix description of PostgreSQL::Test::Cluster::wait_for_event()
michaelpq Oct 18, 2024
053b6da
Adjust documentation for configuring Linux huge pages.
nathan-bossart Oct 18, 2024
7148cb3
SQL/JSON: Fix some oversights in commit b6e1157e7
amitlan Oct 20, 2024
e9959ff
Note that index_name in ALTER INDEX ATTACH PARTITION can be schema-qu…
alvherre Oct 20, 2024
234f6d0
Fix race condition in committing a serializable transaction
hlinnaka Oct 21, 2024
3685ad6
Fix wrong assertion and poor error messages in "COPY (query) TO".
tglsfdc Oct 21, 2024
5914a22
Restructure foreign key handling code for ATTACH/DETACH
alvherre Oct 22, 2024
2c37cb2
ecpg: Fix out-of-bound read in DecodeDateTime()
michaelpq Oct 22, 2024
f92f6b3
Remove unnecessary word in a comment
amitlan Oct 23, 2024
0a05920
doc: Fix INSERT statement syntax for identity columns
danielgustafsson Oct 23, 2024
e119076
Stop reading uninitialized memory in heap_inplace_lock().
nmisch Oct 24, 2024
a4668c9
At end of recovery, reset all sinval-managed caches.
nmisch Oct 25, 2024
95c5acb
For inplace update, send nontransactional invalidations.
nmisch Oct 25, 2024
bfd5c6e
WAL-log inplace update before revealing it to other sessions.
nmisch Oct 25, 2024
22b9141
Fix overflow in bsearch_arg() with more than INT_MAX elements
hlinnaka Oct 28, 2024
e631ed8
Guard against enormously long input in pg_saslprep().
tglsfdc Oct 28, 2024
bb584e8
Fix dependency of partitioned table and table AM with CREATE TABLE ..…
michaelpq Oct 28, 2024
e5086b3
Doc: clarify enable_indexscan=off also disabled Index Only Scans
david-rowley Oct 29, 2024
709ce29
doc: Add better description for rewrite functions in event triggers
michaelpq Oct 29, 2024
cad6590
Update time zone data files to tzdata release 2024b.
tglsfdc Oct 29, 2024
9aef6f1
Unpin buffer before inplace update waits for an XID to end.
nmisch Oct 29, 2024
936ab6d
Fix some more bugs in foreign keys connecting partitioned tables
alvherre Oct 30, 2024
c177726
Fix bug in nbtree array primitive scan scheduling.
petergeoghegan Oct 30, 2024
a358019
Stabilize jsonb_path_query test case.
tglsfdc Oct 30, 2024
787bd3d
doc: remove mention of ActiveState for Perl and Tcl on Windows
bmomjian Nov 1, 2024
0a0a0f2
doc: fix ALTER DOMAIN domain_constraint to spell out options
bmomjian Nov 1, 2024
bc6bad8
Revert "WAL-log inplace update before revealing it to other sessions."
nmisch Nov 2, 2024
c1099dd
Revert "For inplace update, send nontransactional invalidations."
nmisch Nov 2, 2024
0bcb9d0
Move I/O before the index_update_stats() buffer lock region.
nmisch Nov 2, 2024
54bc22f
Suppress new "may be used uninitialized" warning.
nmisch Nov 3, 2024
0d635b6
pg_combinebackup: When reconstructing, avoid double slash in filename.
robertmhaas Nov 4, 2024
e367114
pg_combinebackup: Error if incremental file exists in full backup.
robertmhaas Nov 4, 2024
e2a9129
pg_basebackup, pg_receivewal: fix failure to find password in ~/.pgpass.
tglsfdc Nov 4, 2024
811f8d3
Use portable diff options in pg_bsd_indent's regression test.
tglsfdc Nov 4, 2024
7f3b41c
Clear padding of PgStat_HashKey when handling pgstats entries
michaelpq Nov 5, 2024
b7467ab
Monkey-patch LLVM code to fix ARM relocation bug.
macdice Nov 6, 2024
8148e71
Fix lc_collate_is_c() when LC_COLLATE != LC_CTYPE.
jeff-davis Nov 6, 2024
e2b5693
doc: Reword ALTER TABLE ATTACH restriction on NO INHERIT constraints
alvherre Nov 7, 2024
78b1c55
Fix inconsistent RestrictInfo serial numbers
Nov 8, 2024
b6484ca
Disallow partitionwise grouping when collations don't match
amitlan Nov 8, 2024
a0cdfc8
Disallow partitionwise join when collations don't match
amitlan Nov 8, 2024
943b653
Improve fix for not entering parallel mode when holding interrupts.
tglsfdc Nov 8, 2024
4145ea0
First-draft release notes for 17.1.
tglsfdc Nov 8, 2024
0a883a0
Fix sign-compare warnings in pg_iovec.h.
nathan-bossart Nov 8, 2024
ca19f88
Release notes for 17.1, 16.5, 15.9, 14.14, 13.17, 12.21.
tglsfdc Nov 10, 2024
a5cc4c6
libpq: Bail out during SSL/GSS negotiation errors
michaelpq Nov 11, 2024
6bf5bf1
Translation updates
petere Nov 11, 2024
3ebcfa5
Block environment variable mutations from trusted PL/Perl.
nmisch Nov 11, 2024
edcda9b
Ensure cached plans are correctly marked as dependent on role.
nathan-bossart Nov 11, 2024
cd82afd
Fix improper interactions between session_authorization and role.
tglsfdc Nov 11, 2024
4cd4f3b
Avoid bizarre meson behavior with backslashes in command arguments.
tglsfdc Nov 11, 2024
8d19f3f
Fix cross-version upgrade tests.
tglsfdc Nov 11, 2024
f4f5d27
Parallel workers use AuthenticatedUserId for connection privilege che…
tglsfdc Nov 11, 2024
052aa02
Last-minute updates for release notes.
tglsfdc Nov 11, 2024
91f20bc
Stamp 17.1.
tglsfdc Nov 11, 2024
aa2e29f
Merge tag 'REL_17_1' into minor-update-17
hlinnaka Nov 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.0.
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.1.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -582,8 +582,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='PostgreSQL'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='17.0'
PACKAGE_STRING='PostgreSQL 17.0'
PACKAGE_VERSION='17.1'
PACKAGE_STRING='PostgreSQL 17.1'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL='https://www.postgresql.org/'

Expand Down Expand Up @@ -1452,7 +1452,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures PostgreSQL 17.0 to adapt to many kinds of systems.
\`configure' configures PostgreSQL 17.1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1517,7 +1517,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of PostgreSQL 17.0:";;
short | recursive ) echo "Configuration of PostgreSQL 17.1:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1693,7 +1693,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
PostgreSQL configure 17.0
PostgreSQL configure 17.1
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2446,7 +2446,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL $as_me 17.0, which was
It was created by PostgreSQL $as_me 17.1, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -19872,7 +19872,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by PostgreSQL $as_me 17.0, which was
This file was extended by PostgreSQL $as_me 17.1, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -19943,7 +19943,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
PostgreSQL config.status 17.0
PostgreSQL config.status 17.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dnl Read the Autoconf manual for details.
dnl
m4_pattern_forbid(^PGAC_)dnl to catch undefined macros

AC_INIT([PostgreSQL], [17.0], [[email protected]], [], [https://www.postgresql.org/])
AC_INIT([PostgreSQL], [17.1], [[email protected]], [], [https://www.postgresql.org/])

m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
Untested combinations of 'autoconf' and PostgreSQL versions are not
Expand Down
2 changes: 1 addition & 1 deletion contrib/postgres_fdw/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ process_pgfdw_appname(const char *appname)
appendStringInfoString(&buf, application_name);
break;
case 'c':
appendStringInfo(&buf, "%lx.%x", (long) (MyStartTime), MyProcPid);
appendStringInfo(&buf, "%" INT64_MODIFIER "x.%x", MyStartTime, MyProcPid);
break;
case 'C':
appendStringInfoString(&buf, cluster_name);
Expand Down
2 changes: 1 addition & 1 deletion contrib/seg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PGFILEDESC = "seg - line segment data type"

HEADERS = segdata.h

REGRESS = security seg
REGRESS = security seg partition

EXTRA_CLEAN = segparse.h segparse.c segscan.c

Expand Down
54 changes: 54 additions & 0 deletions contrib/seg/expected/partition.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
--
-- Test that partitioned-index operations cope with objects that are
-- not in the secure search path. (This has little to do with seg,
-- but we need an opclass that isn't in pg_catalog, and the base system
-- has no such opclass.) Note that we need to test propagation of the
-- partitioned index's properties both to partitions that pre-date it
-- and to partitions created later.
--
create function mydouble(int) returns int strict immutable parallel safe
begin atomic select $1 * 2; end;
create collation mycollation from "POSIX";
create table pt (category int, sdata seg, tdata text)
partition by list (category);
-- pre-existing partition
create table pt12 partition of pt for values in (1,2);
insert into pt values(1, '0 .. 1'::seg, 'zed');
-- expression references object in public schema
create index pti1 on pt ((mydouble(category) + 1));
-- opclass in public schema
create index pti2 on pt (sdata seg_ops);
-- collation in public schema
create index pti3 on pt (tdata collate mycollation);
-- new partition
create table pt34 partition of pt for values in (3,4);
insert into pt values(4, '-1 .. 1'::seg, 'foo');
\d+ pt
Partitioned table "public.pt"
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
----------+---------+-----------+----------+---------+----------+--------------+-------------
category | integer | | | | plain | |
sdata | seg | | | | plain | |
tdata | text | | | | extended | |
Partition key: LIST (category)
Indexes:
"pti1" btree ((mydouble(category) + 1))
"pti2" btree (sdata)
"pti3" btree (tdata COLLATE mycollation)
Partitions: pt12 FOR VALUES IN (1, 2),
pt34 FOR VALUES IN (3, 4)

\d+ pt12
Table "public.pt12"
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
----------+---------+-----------+----------+---------+----------+--------------+-------------
category | integer | | | | plain | |
sdata | seg | | | | plain | |
tdata | text | | | | extended | |
Partition of: pt FOR VALUES IN (1, 2)
Partition constraint: ((category IS NOT NULL) AND (category = ANY (ARRAY[1, 2])))
Indexes:
"pt12_expr_idx" btree ((mydouble(category) + 1))
"pt12_sdata_idx" btree (sdata)
"pt12_tdata_idx" btree (tdata COLLATE mycollation)

1 change: 1 addition & 0 deletions contrib/seg/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ tests += {
'sql': [
'security',
'seg',
'partition',
],
},
}
36 changes: 36 additions & 0 deletions contrib/seg/sql/partition.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
--
-- Test that partitioned-index operations cope with objects that are
-- not in the secure search path. (This has little to do with seg,
-- but we need an opclass that isn't in pg_catalog, and the base system
-- has no such opclass.) Note that we need to test propagation of the
-- partitioned index's properties both to partitions that pre-date it
-- and to partitions created later.
--

create function mydouble(int) returns int strict immutable parallel safe
begin atomic select $1 * 2; end;

create collation mycollation from "POSIX";

create table pt (category int, sdata seg, tdata text)
partition by list (category);

-- pre-existing partition
create table pt12 partition of pt for values in (1,2);

insert into pt values(1, '0 .. 1'::seg, 'zed');

-- expression references object in public schema
create index pti1 on pt ((mydouble(category) + 1));
-- opclass in public schema
create index pti2 on pt (sdata seg_ops);
-- collation in public schema
create index pti3 on pt (tdata collate mycollation);

-- new partition
create table pt34 partition of pt for values in (3,4);

insert into pt values(4, '-1 .. 1'::seg, 'foo');

\d+ pt
\d+ pt12
23 changes: 23 additions & 0 deletions contrib/test_decoding/expected/twophase.out
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,34 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
COMMIT
(3 rows)

-- Test that accessing a TOAST table is permitted during the decoding of a
-- prepared transaction.
-- Create a table with a column that uses a TOASTed default value.
-- (temporarily hide query, to avoid the long CREATE TABLE stmt)
\set ECHO none
BEGIN;
INSERT INTO test_tab VALUES('test');
PREPARE TRANSACTION 'test_toast_table_access';
SELECT count(*) FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'stream-changes', '1');
count
-------
3
(1 row)

COMMIT PREPARED 'test_toast_table_access';
-- consume commit prepared
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'stream-changes', '1');
data
-------------------------------------------
COMMIT PREPARED 'test_toast_table_access'
(1 row)

-- Test 8:
-- cleanup and make sure results are also empty
DROP TABLE test_prepared1;
DROP TABLE test_prepared2;
DROP TABLE test_prepared_savepoint;
DROP TABLE test_tab;
-- show results. There should be nothing to show
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
data
Expand Down
22 changes: 22 additions & 0 deletions contrib/test_decoding/sql/twophase.sql
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,33 @@ COMMIT PREPARED 'test_prepared_nodecode';
-- should be decoded now
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');

-- Test that accessing a TOAST table is permitted during the decoding of a
-- prepared transaction.

-- Create a table with a column that uses a TOASTed default value.
-- (temporarily hide query, to avoid the long CREATE TABLE stmt)
\set ECHO none
SELECT 'CREATE TABLE test_tab (a text DEFAULT ''' || string_agg('toast value', '') || ''');' FROM generate_series(1, 4000)
\gexec
\set ECHO all

BEGIN;
INSERT INTO test_tab VALUES('test');
PREPARE TRANSACTION 'test_toast_table_access';

SELECT count(*) FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'stream-changes', '1');

COMMIT PREPARED 'test_toast_table_access';

-- consume commit prepared
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'stream-changes', '1');

-- Test 8:
-- cleanup and make sure results are also empty
DROP TABLE test_prepared1;
DROP TABLE test_prepared2;
DROP TABLE test_prepared_savepoint;
DROP TABLE test_tab;
-- show results. There should be nothing to show
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');

Expand Down
11 changes: 7 additions & 4 deletions doc/src/sgml/config.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -5419,8 +5419,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
</term>
<listitem>
<para>
Enables or disables the query planner's use of index-scan plan
types. The default is <literal>on</literal>.
Enables or disables the query planner's use of index-scan and
index-only-scan plan types. The default is <literal>on</literal>.
Also see <xref linkend="guc-enable-indexonlyscan"/>.
</para>
</listitem>
</varlistentry>
Expand All @@ -5435,7 +5436,9 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
<para>
Enables or disables the query planner's use of index-only-scan plan
types (see <xref linkend="indexes-index-only-scans"/>).
The default is <literal>on</literal>.
The default is <literal>on</literal>. The
<xref linkend="guc-enable-indexscan"/> setting must also be
enabled to have the query planner consider index-only-scans.
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -9384,7 +9387,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<para>
If <varname>transaction_timeout</varname> is shorter or equal to
<varname>idle_in_transaction_session_timeout</varname> or <varname>statement_timeout</varname>
then the longer timeout is ignored.
then the longer timeout is ignored.
</para>

<para>
Expand Down
6 changes: 3 additions & 3 deletions doc/src/sgml/ddl.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ CREATE TABLE people (
example, with the above definitions and assuming additional appropriate
columns, writing
<programlisting>
INSERT INTO people (name, address) VALUE ('A', 'foo');
INSERT INTO people (name, address) VALUE ('B', 'bar');
INSERT INTO people (name, address) VALUES ('A', 'foo');
INSERT INTO people (name, address) VALUES ('B', 'bar');
</programlisting>
would generate values for the <literal>id</literal> column starting at 1
and result in the following table data:
Expand All @@ -285,7 +285,7 @@ INSERT INTO people (name, address) VALUE ('B', 'bar');
Alternatively, the keyword <literal>DEFAULT</literal> can be specified in
place of a value to explicitly request the sequence-generated value, like
<programlisting>
INSERT INTO people (id, name, address) VALUE (<emphasis>DEFAULT</emphasis>, 'C', 'baz');
INSERT INTO people (id, name, address) VALUES (<emphasis>DEFAULT</emphasis>, 'C', 'baz');
</programlisting>
Similarly, the keyword <literal>DEFAULT</literal> can be used in
<command>UPDATE</command> commands.
Expand Down
5 changes: 5 additions & 0 deletions doc/src/sgml/event-trigger.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@
control statements are available to rewrite a table,
like <literal>CLUSTER</literal> and <literal>VACUUM</literal>,
the <literal>table_rewrite</literal> event is not triggered by them.
To find the OID of the table that was rewritten, use the function
<literal>pg_event_trigger_table_rewrite_oid()</literal> (see
<xref linkend="functions-event-triggers"/>). To discover the reason(s)
for the rewrite, use the function
<literal>pg_event_trigger_table_rewrite_reason()</literal>.
</para>

<para>
Expand Down
8 changes: 6 additions & 2 deletions doc/src/sgml/func.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -31110,8 +31110,12 @@ CREATE EVENT TRIGGER test_event_trigger_for_drops
<returnvalue>integer</returnvalue>
</para>
<para>
Returns a code explaining the reason(s) for rewriting. The exact
meaning of the codes is release dependent.
Returns a code explaining the reason(s) for rewriting. The value is
a bitmap built from the following values: <literal>1</literal>
(the table has changed its persistence), <literal>2</literal>
(default value of a column has changed), <literal>4</literal>
(a column has a new data type) and <literal>8</literal>
(the table access method has changed).
</para></entry>
</row>
</tbody>
Expand Down
15 changes: 7 additions & 8 deletions doc/src/sgml/installation.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -3868,14 +3868,12 @@ make: *** [postgres] Error 1

<variablelist>
<varlistentry>
<term><productname>ActiveState Perl</productname></term>
<term><productname>Strawberry Perl</productname></term>
<listitem><para>
ActiveState Perl is required to run the build generation scripts. MinGW
Strawberry Perl is required to run the build generation scripts. MinGW
or Cygwin Perl will not work. It must also be present in the PATH.
Binaries can be downloaded from
<ulink url="https://www.activestate.com"></ulink>
(Note: version 5.14 or later is required,
the free Standard Distribution is sufficient).
<ulink url="https://strawberryperl.com"></ulink>.
</para></listitem>
</varlistentry>

Expand Down Expand Up @@ -3927,10 +3925,11 @@ make: *** [postgres] Error 1

<variablelist>
<varlistentry>
<term><productname>ActiveState Tcl</productname></term>
<term><productname>Magicsplat Tcl</productname></term>
<listitem><para>
Required for building <application>PL/Tcl</application> (Note: version
8.4 is required, the free Standard Distribution is sufficient).
Required for building <application>PL/Tcl</application>.
Binaries can be downloaded from
<ulink url="https://www.magicsplat.com/tcl-installer/index.html"></ulink>.
</para></listitem>
</varlistentry>

Expand Down
6 changes: 0 additions & 6 deletions doc/src/sgml/parallel.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -510,12 +510,6 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
</para>
</listitem>

<listitem>
<para>
Plan nodes to which an <literal>InitPlan</literal> is attached.
</para>
</listitem>

<listitem>
<para>
Plan nodes that reference a correlated <literal>SubPlan</literal>.
Expand Down
Loading