The PostgreSQL Global Development Group has released an update to all supported versions of PostgreSQL, including 16.2, 15.6, 14.11, 13.14, and 12.18. This release fixes one security vulnerability and over 65 bugs reported over the last several months.
If you use GIN indexes, you may need to reindex after updating to this release. Please see the release notes for more information.
For the full list of changes, please review the release notes.
REFRESH MATERIALIZED VIEW CONCURRENTLY
executes arbitrary SQLCVSS v3 Base Score: 8.0
Supported, Vulnerable Versions: 12 - 16.
One step of a concurrent refresh command was run under weak security
restrictions. If a materialized view's owner could persuade a superuser or
other high-privileged user to perform a concurrent refresh on that view,
the view's owner could control code executed with the privileges of the user
running REFRESH
. The fix for the vulnerability makes is so that all
user-determined code is run as the view's owner, as expected.
The PostgreSQL project thanks Pedro Gallegos for reporting this problem.
This update fixes over 65 bugs that were reported in the last several months. The issues listed below affect PostgreSQL 16. Some of these issues may also affect other supported versions of PostgreSQL.
MERGE
behavior with UPDATE
when updating a partition key column and
skip firing AFTER UPDATE ROW
trigger and other post-update actions.ALTER TEXT SEARCH CONFIGURATION ... MAPPING
commands.DROP ROLE
with duplicate role names.ANALYZE
is running concurrently.GENERATED
and DEFAULT
expressions.REINDEX INDEX
on a
partitioned index.EXPLAIN (BUFFERS)
, change name of I/O timing data "shared/local" to
"shared".CREATE DATABASE
command if a system crash occurred
during or shortly after execution.SIGTERM
while waiting for a replication connection to be established.CREATE FUNCTION
/CREATE PROCEDURE
SQL commands that
use SQL-standard function bodies.initdb
always uncomments postgresql.conf
entries for the
lc_
family of parameters.pg_dump
, don't dump RLS policies or security labels for extension member
objects.This release also updates time zone data files to tzdata release 2024a for DST law changes in Greenland, Kazakhstan, and Palestine, plus corrections for the Antarctic stations Casey and Vostok. Also historical corrections for Vietnam, Toronto, and Miquelon.
All PostgreSQL update releases are cumulative. As with other minor releases,
users are not required to dump and reload their database or use pg_upgrade
in
order to apply this update release; you may simply shutdown PostgreSQL and
update its binaries.
If you use GIN indexes, you may need to reindex after updating to this release. Please see the release notes for more information.
Users who have skipped one or more update releases may need to run additional post-update steps; please see the release notes from earlier versions for details.
For more details, please see the release notes.
If you have corrections or suggestions for this release announcement, please send them to the [email protected] public mailing list.