DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 9.2.24 release changes
All features, fixes, and compatibility notes in this release, with related records from other versions.
Includes changes after the source version through the target. A major version name means its initial release.
Detect the source version from your database
Complete release changes
9.2.24
2017-11-09
9.2.24stableSupport ends 2017-11-09
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2017-12172 Fix sample server-start scripts to become $PGUSER before opening $PGLOG | 9.2.24 | Recorded fix |
PostgreSQL 9.2.24
Migration and compatibility
A dump/restore is not required for those running 9.2.X.
However, if you are upgrading from a version earlier than 9.2.22, see Section E.3.
SecurityFix sample server-start scripts to become $PGUSER before opening $PGLOG
Changes
Fix sample server-start scripts to become $PGUSER before opening $PGLOG (Noah Misch)
Previously, the postmaster log file was opened while still running as root. The database owner could therefore mount an attack against another system user by making $PGLOG be a symbolic link to some other file, which would then become corrupted by appending log messages.
By default, these scripts are not installed anywhere. Users who have made use of them will need to manually recopy them, or apply the same changes to their modified versions. If the existing $PGLOG file is root-owned, it will need to be removed or renamed out of the way before restarting the server with the corrected script. (CVE-2017-12172)
Related records (5)
- Same changePostgreSQL 10.1 · Fix sample server-start scripts to become $PGUSER before opening $PGLOG
- Same changePostgreSQL 9.6.6 · Fix sample server-start scripts to become $PGUSER before opening $PGLOG
- Same changePostgreSQL 9.5.10 · Fix sample server-start scripts to become $PGUSER before opening $PGLOG
- Same changePostgreSQL 9.4.15 · Fix sample server-start scripts to become $PGUSER before opening $PGLOG
- Same changePostgreSQL 9.3.20 · Fix sample server-start scripts to become $PGUSER before opening $PGLOG
ImprovementsProperly reject attempts to convert infinite float values to type numeric
Changes
Properly reject attempts to convert infinite float values to type numeric (Tom Lane, KaiGai Kohei)
Previously the behavior was platform-dependent.
Related records (4)
- Same changePostgreSQL 9.6.6 · Properly reject attempts to convert infinite float values to type numeric
- Same changePostgreSQL 9.5.10 · Properly reject attempts to convert infinite float values to type numeric
- Same changePostgreSQL 9.4.15 · Properly reject attempts to convert infinite float values to type numeric
- Same changePostgreSQL 9.3.20 · Properly reject attempts to convert infinite float values to type numeric
Bug fixesFix corner-case crashes when columns have been added to the end of a view
Changes
Fix corner-case crashes when columns have been added to the end of a view (Tom Lane)
Related records (5)
- Same changePostgreSQL 10.1 · Fix corner-case crashes when columns have been added to the end of a view
- Same changePostgreSQL 9.6.6 · Fix corner-case crashes when columns have been added to the end of a view
- Same changePostgreSQL 9.5.10 · Fix corner-case crashes when columns have been added to the end of a view
- Same changePostgreSQL 9.4.15 · Fix corner-case crashes when columns have been added to the end of a view
- Same changePostgreSQL 9.3.20 · Fix corner-case crashes when columns have been added to the end of a view
ImprovementsRecord proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes
Changes
Record proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes (Tom Lane)
Lack of these dependencies could allow a column or data type DROP to go through when it ought to fail, thereby causing later uses of the view or rule to get errors. This patch does not do anything to protect existing views/rules, only ones created in the future.
Related records (5)
- Same changePostgreSQL 10.1 · Record proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes
- Same changePostgreSQL 9.6.6 · Record proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes
- Same changePostgreSQL 9.5.10 · Record proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes
- Same changePostgreSQL 9.4.15 · Record proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes
- Same changePostgreSQL 9.3.20 · Record proper dependencies when a view or rule contains FieldSelect or FieldStore expression nodes
ImprovementsCorrectly detect hashability of range data types
Changes
Correctly detect hashability of range data types (Tom Lane)
The planner mistakenly assumed that any range type could be hashed for use in hash joins or hash aggregation, but actually it must check whether the range's subtype has hash support. This does not affect any of the built-in range types, since they're all hashable anyway.
Related records (5)
- Same changePostgreSQL 10.1 · Correctly detect hashability of range data types
- Same changePostgreSQL 9.6.6 · Correctly detect hashability of range data types
- Same changePostgreSQL 9.5.10 · Correctly detect hashability of range data types
- Same changePostgreSQL 9.4.15 · Correctly detect hashability of range data types
- Same changePostgreSQL 9.3.20 · Correctly detect hashability of range data types
Bug fixesFix low-probability loss of NOTIFY messages due to XID wraparound
Changes
Fix low-probability loss of NOTIFY messages due to XID wraparound (Marko Tiikkaja, Tom Lane)
If a session executed no queries, but merely listened for notifications, for more than 2 billion transactions, it started to miss some notifications from concurrently-committing transactions.
Related records (5)
- Same changePostgreSQL 10.1 · Fix low-probability loss of NOTIFY messages due to XID wraparound
- Same changePostgreSQL 9.6.6 · Fix low-probability loss of NOTIFY messages due to XID wraparound
- Same changePostgreSQL 9.5.10 · Fix low-probability loss of NOTIFY messages due to XID wraparound
- Same changePostgreSQL 9.4.15 · Fix low-probability loss of NOTIFY messages due to XID wraparound
- Same changePostgreSQL 9.3.20 · Fix low-probability loss of NOTIFY messages due to XID wraparound
Bug fixesPrevent low-probability crash in processing of nested trigger firings
Changes
Prevent low-probability crash in processing of nested trigger firings (Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.6 · Prevent low-probability crash in processing of nested trigger firings
- Same changePostgreSQL 9.5.10 · Prevent low-probability crash in processing of nested trigger firings
- Same changePostgreSQL 9.4.15 · Prevent low-probability crash in processing of nested trigger firings
- Same changePostgreSQL 9.3.20 · Prevent low-probability crash in processing of nested trigger firings
ImprovementsCorrectly restore the umask setting when file creation fails in COPY or lo_export()
Changes
Correctly restore the umask setting when file creation fails in COPY or lo_export() (Peter Eisentraut)
Related records (4)
- Same changePostgreSQL 9.6.6 · Correctly restore the umask setting when file creation fails in COPY or lo_export()
- Same changePostgreSQL 9.5.10 · Correctly restore the umask setting when file creation fails in COPY or lo_export()
- Same changePostgreSQL 9.4.15 · Correctly restore the umask setting when file creation fails in COPY or lo_export()
- Same changePostgreSQL 9.3.20 · Correctly restore the umask setting when file creation fails in COPY or lo_export()
ImprovementsGive a better error message for duplicate column names in ANALYZE
Changes
Give a better error message for duplicate column names in ANALYZE (Nathan Bossart)
Related records (4)
- Same changePostgreSQL 9.6.6 · Give a better error message for duplicate column names in ANALYZE
- Same changePostgreSQL 9.5.10 · Give a better error message for duplicate column names in ANALYZE
- Same changePostgreSQL 9.4.15 · Give a better error message for duplicate column names in ANALYZE
- Same changePostgreSQL 9.3.20 · Give a better error message for duplicate column names in ANALYZE
Bug fixesFix libpq to not require user's home directory to exist
Changes
Fix libpq to not require user's home directory to exist (Tom Lane)
In v10, failure to find the home directory while trying to read ~/.pgpass was treated as a hard error, but it should just cause that file to not be found. Both v10 and previous release branches made the same mistake when reading ~/.pg_service.conf, though this was less obvious since that file is not sought unless a service name is specified.
Related records (5)
- Same changePostgreSQL 10.1 · Fix libpq to not require user's home directory to exist
- Same changePostgreSQL 9.6.6 · Fix libpq to not require user's home directory to exist
- Same changePostgreSQL 9.5.10 · Fix libpq to not require user's home directory to exist
- Same changePostgreSQL 9.4.15 · Fix libpq to not require user's home directory to exist
- Same changePostgreSQL 9.3.20 · Fix libpq to not require user's home directory to exist
Bug fixesFix libpq to guard against integer overflow in the row count of a PGresult
Changes
Fix libpq to guard against integer overflow in the row count of a PGresult (Michael Paquier)
Related records (4)
- Same changePostgreSQL 9.6.6 · Fix libpq to guard against integer overflow in the row count of a PGresult
- Same changePostgreSQL 9.5.10 · Fix libpq to guard against integer overflow in the row count of a PGresult
- Same changePostgreSQL 9.4.15 · Fix libpq to guard against integer overflow in the row count of a PGresult
- Same changePostgreSQL 9.3.20 · Fix libpq to guard against integer overflow in the row count of a PGresult
ImprovementsSync our copy of the timezone library with IANA release tzcode2017c
Changes
Sync our copy of the timezone library with IANA release tzcode2017c (Tom Lane)
This fixes various issues; the only one likely to be user-visible is that the default DST rules for a POSIX-style zone name, if no posixrules file exists in the timezone data directory, now match current US law rather than what it was a dozen years ago.
Related records (4)
- Same changePostgreSQL 9.6.6 · Sync our copy of the timezone library with IANA release tzcode2017c
- Same changePostgreSQL 9.5.10 · Sync our copy of the timezone library with IANA release tzcode2017c
- Same changePostgreSQL 9.4.15 · Sync our copy of the timezone library with IANA release tzcode2017c
- Same changePostgreSQL 9.3.20 · Sync our copy of the timezone library with IANA release tzcode2017c
ImprovementsUpdate time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
Changes
Update time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
Related records (5)
- Same changePostgreSQL 10.1 · Update time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
- Same changePostgreSQL 9.6.6 · Update time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
- Same changePostgreSQL 9.5.10 · Update time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
- Same changePostgreSQL 9.4.15 · Update time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
- Same changePostgreSQL 9.3.20 · Update time zone data files to tzdata release 2017c for DST law changes in Fiji, Namibia, Northern Cyprus, Sudan, Tonga, and Turks & Caicos Islands, plus historical corrections for Alaska, Apia, Burma, Calcutta, Detroit, Ireland, Namibia, and Pago Pago.
No matching changes
Try another search, or .
How is this comparison generated?
The comparison follows PostgreSQL release notes from just after the source through the target version. Confirmed backport duplicates are merged conservatively, with every original explanation retained. Related commits can represent independent changes; they remain separate records.
Release snapshot: 2026-11-19 · Security snapshot: 2026-09-26
Content comes from PostgreSQL release notes. Interaction inspired by pgversions.com and pgversionreport.