DocumentationVersion comparison
POSTGRESQL · VERSION COMPARE
PostgreSQL 9.4.13 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.4.13
2017-08-10
9.4.13stableSupport ends 2020-02-13
Security changes
| CVE / issue | Severity | Fixed version | Selection status |
|---|---|---|---|
| CVE-2017-7547 Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options | 9.4.13 | Recorded fix | |
| CVE-2017-7486 Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options | 9.4.12 | Recorded fix | |
| CVE-2017-7546 Disallow empty passwords in all password-based authentication methods | 9.4.13 | Recorded fix | |
| CVE-2017-7548 Make lo_put() check for UPDATE privilege on the target large object | 9.4.13 | Recorded fix |
PostgreSQL 9.4.13
Migration and compatibility
A dump/restore is not required for those running 9.4.X.
However, if you use foreign data servers that make use of user passwords for authentication, see the first changelog entry below.
Also, if you are upgrading from a version earlier than 9.4.12, see Section E.15.
SecurityFurther restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options
Changes
Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options (Noah Misch)
The fix for CVE-2017-7486 was incorrect: it allowed a user to see the options in her own user mapping, even if she did not have USAGE permission on the associated foreign server. Such options might include a password that had been provided by the server owner rather than the user herself. Since information_schema.user_mapping_options does not show the options in such cases, pg_user_mappings should not either. (CVE-2017-7547)
By itself, this patch will only fix the behavior in newly initdb'd databases. If you wish to apply this change in an existing database, you will need to do the following:
-
Restart the postmaster after adding allow_system_table_mods = true to postgresql.conf. (In versions supporting ALTER SYSTEM, you can use that to make the configuration change, but you'll still need a restart.)
-
In each database of the cluster, run the following commands as superuser:
SET search_path = pg_catalog; CREATE OR REPLACE VIEW pg_user_mappings AS SELECT U.oid AS umid, S.oid AS srvid, S.srvname AS srvname, U.umuser AS umuser, CASE WHEN U.umuser = 0 THEN 'public' ELSE A.rolname END AS usename, CASE WHEN (U.umuser <> 0 AND A.rolname = current_user AND (pg_has_role(S.srvowner, 'USAGE') OR has_server_privilege(S.oid, 'USAGE'))) OR (U.umuser = 0 AND pg_has_role(S.srvowner, 'USAGE')) OR (SELECT rolsuper FROM pg_authid WHERE rolname = current_user) THEN U.umoptions ELSE NULL END AS umoptions FROM pg_user_mapping U LEFT JOIN pg_authid A ON (A.oid = U.umuser) JOIN pg_foreign_server S ON (U.umserver = S.oid); -
Do not forget to include the template0 and template1 databases, or the vulnerability will still exist in databases you create later. To fix template0, you'll need to temporarily make it accept connections. In PostgreSQL 9.5 and later, you can use
ALTER DATABASE template0 WITH ALLOW_CONNECTIONS true;
and then after fixing template0, undo that with
ALTER DATABASE template0 WITH ALLOW_CONNECTIONS false;
In prior versions, instead use
UPDATE pg_database SET datallowconn = true WHERE datname = 'template0'; UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
-
Finally, remove the allow_system_table_mods configuration setting, and again restart the postmaster.
Related records (4)
- Same changePostgreSQL 9.6.4 · Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options
- Same changePostgreSQL 9.5.8 · Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options
- Same changePostgreSQL 9.3.18 · Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options
- Same changePostgreSQL 9.2.22 · Further restrict visibility of pg_user_mappings.umoptions, to protect passwords stored as user mapping options
SecurityDisallow empty passwords in all password-based authentication methods
Changes
Disallow empty passwords in all password-based authentication methods (Heikki Linnakangas)
libpq ignores empty password specifications, and does not transmit them to the server. So, if a user's password has been set to the empty string, it's impossible to log in with that password via psql or other libpq-based clients. An administrator might therefore believe that setting the password to empty is equivalent to disabling password login. However, with a modified or non-libpq-based client, logging in could be possible, depending on which authentication method is configured. In particular the most common method, md5, accepted empty passwords. Change the server to reject empty passwords in all cases. (CVE-2017-7546)
Related records (4)
- Same changePostgreSQL 9.6.4 · Disallow empty passwords in all password-based authentication methods
- Same changePostgreSQL 9.5.8 · Disallow empty passwords in all password-based authentication methods
- Same changePostgreSQL 9.3.18 · Disallow empty passwords in all password-based authentication methods
- Same changePostgreSQL 9.2.22 · Disallow empty passwords in all password-based authentication methods
SecurityMake lo_put() check for UPDATE privilege on the target large object
Changes
Make lo_put() check for UPDATE privilege on the target large object (Tom Lane, Michael Paquier)
lo_put() should surely require the same permissions as lowrite(), but the check was missing, allowing any user to change the data in a large object. (CVE-2017-7548)
Bug fixesFix concurrent locking of tuple update chains
Changes
Fix concurrent locking of tuple update chains (Álvaro Herrera)
If several sessions concurrently lock a tuple update chain with nonconflicting lock modes using an old snapshot, and they all succeed, it was possible for some of them to nonetheless fail (and conclude there is no live tuple version) due to a race condition. This had consequences such as foreign-key checks failing to see a tuple that definitely exists but is being updated concurrently.
Related records (3)
Bug fixesFix potential data corruption when freezing a tuple whose XMAX is a multixact with exactly one still-interesting member
Changes
Fix potential data corruption when freezing a tuple whose XMAX is a multixact with exactly one still-interesting member (Teodor Sigaev)
Related records (3)
- Same changePostgreSQL 9.6.4 · Fix potential data corruption when freezing a tuple whose XMAX is a multixact with exactly one still-interesting member
- Same changePostgreSQL 9.5.8 · Fix potential data corruption when freezing a tuple whose XMAX is a multixact with exactly one still-interesting member
- Same changePostgreSQL 9.3.18 · Fix potential data corruption when freezing a tuple whose XMAX is a multixact with exactly one still-interesting member
Bug fixesAvoid integer overflow and ensuing crash when sorting more than one billion tuples in-memory
Changes
Avoid integer overflow and ensuing crash when sorting more than one billion tuples in-memory (Sergey Koposov)
ImprovementsOn Windows, retry process creation if we fail to reserve the address range for our shared memory in the new process
Changes
On Windows, retry process creation if we fail to reserve the address range for our shared memory in the new process (Tom Lane, Amit Kapila)
This is expected to fix infrequent child-process-launch failures that are probably due to interference from antivirus products.
Related records (4)
- Same changePostgreSQL 9.6.4 · On Windows, retry process creation if we fail to reserve the address range for our shared memory in the new process
- Same changePostgreSQL 9.5.8 · On Windows, retry process creation if we fail to reserve the address range for our shared memory in the new process
- Same changePostgreSQL 9.3.18 · On Windows, retry process creation if we fail to reserve the address range for our shared memory in the new process
- Same changePostgreSQL 9.2.22 · On Windows, retry process creation if we fail to reserve the address range for our shared memory in the new process
Bug fixesFix low-probability corruption of shared predicate-lock hash table in Windows builds
Changes
Fix low-probability corruption of shared predicate-lock hash table in Windows builds (Thomas Munro, Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix low-probability corruption of shared predicate-lock hash table in Windows builds
- Same changePostgreSQL 9.5.8 · Fix low-probability corruption of shared predicate-lock hash table in Windows builds
- Same changePostgreSQL 9.3.18 · Fix low-probability corruption of shared predicate-lock hash table in Windows builds
- Same changePostgreSQL 9.2.22 · Fix low-probability corruption of shared predicate-lock hash table in Windows builds
ImprovementsAvoid logging clean closure of an SSL connection as though it were a connection reset
Changes
Avoid logging clean closure of an SSL connection as though it were a connection reset (Michael Paquier)
Related records (4)
- Same changePostgreSQL 9.6.4 · Avoid logging clean closure of an SSL connection as though it were a connection reset
- Same changePostgreSQL 9.5.8 · Avoid logging clean closure of an SSL connection as though it were a connection reset
- Same changePostgreSQL 9.3.18 · Avoid logging clean closure of an SSL connection as though it were a connection reset
- Same changePostgreSQL 9.2.22 · Avoid logging clean closure of an SSL connection as though it were a connection reset
ImprovementsPrevent sending SSL session tickets to clients
Changes
Prevent sending SSL session tickets to clients (Tom Lane)
This fix prevents reconnection failures with ticket-aware client-side SSL code.
Related records (4)
- Same changePostgreSQL 9.6.4 · Prevent sending SSL session tickets to clients
- Same changePostgreSQL 9.5.8 · Prevent sending SSL session tickets to clients
- Same changePostgreSQL 9.3.18 · Prevent sending SSL session tickets to clients
- Same changePostgreSQL 9.2.22 · Prevent sending SSL session tickets to clients
Bug fixesFix code for setting tcp_keepalives_idle on Solaris
Changes
Fix code for setting tcp_keepalives_idle on Solaris (Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix code for setting tcp_keepalives_idle on Solaris
- Same changePostgreSQL 9.5.8 · Fix code for setting tcp_keepalives_idle on Solaris
- Same changePostgreSQL 9.3.18 · Fix code for setting tcp_keepalives_idle on Solaris
- Same changePostgreSQL 9.2.22 · Fix code for setting tcp_keepalives_idle on Solaris
Bug fixesFix statistics collector to honor inquiry messages issued just after a postmaster shutdown and immediate restart
Changes
Fix statistics collector to honor inquiry messages issued just after a postmaster shutdown and immediate restart (Tom Lane)
Statistics inquiries issued within half a second of the previous postmaster shutdown were effectively ignored.
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix statistics collector to honor inquiry messages issued just after a postmaster shutdown and immediate restart
- Same changePostgreSQL 9.5.8 · Fix statistics collector to honor inquiry messages issued just after a postmaster shutdown and immediate restart
- Same changePostgreSQL 9.3.18 · Fix statistics collector to honor inquiry messages issued just after a postmaster shutdown and immediate restart
- Same changePostgreSQL 9.2.22 · Fix statistics collector to honor inquiry messages issued just after a postmaster shutdown and immediate restart
ImprovementsEnsure that the statistics collector's receive buffer size is at least 100KB
Changes
Ensure that the statistics collector's receive buffer size is at least 100KB (Tom Lane)
This reduces the risk of dropped statistics data on older platforms whose default receive buffer size is less than that.
Related records (4)
- Same changePostgreSQL 9.6.4 · Ensure that the statistics collector's receive buffer size is at least 100KB
- Same changePostgreSQL 9.5.8 · Ensure that the statistics collector's receive buffer size is at least 100KB
- Same changePostgreSQL 9.3.18 · Ensure that the statistics collector's receive buffer size is at least 100KB
- Same changePostgreSQL 9.2.22 · Ensure that the statistics collector's receive buffer size is at least 100KB
Bug fixesFix possible creation of an invalid WAL segment when a standby is promoted just after it processes an XLOG_SWITCH WAL record
Changes
Fix possible creation of an invalid WAL segment when a standby is promoted just after it processes an XLOG_SWITCH WAL record (Andres Freund)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix possible creation of an invalid WAL segment when a standby is promoted just after it processes an XLOG_SWITCH WAL record
- Same changePostgreSQL 9.5.8 · Fix possible creation of an invalid WAL segment when a standby is promoted just after it processes an XLOG_SWITCH WAL record
- Same changePostgreSQL 9.3.18 · Fix possible creation of an invalid WAL segment when a standby is promoted just after it processes an XLOG_SWITCH WAL record
- Same changePostgreSQL 9.2.22 · Fix possible creation of an invalid WAL segment when a standby is promoted just after it processes an XLOG_SWITCH WAL record
Bug fixesFix walsender to exit promptly when client requests shutdown
Changes
Fix walsender to exit promptly when client requests shutdown (Tom Lane)
Related records (2)
Bug fixesFix SIGHUP and SIGUSR1 handling in walsender processes
Changes
Fix SIGHUP and SIGUSR1 handling in walsender processes (Petr Jelinek, Andres Freund)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix SIGHUP and SIGUSR1 handling in walsender processes
- Same changePostgreSQL 9.5.8 · Fix SIGHUP and SIGUSR1 handling in walsender processes
- Same changePostgreSQL 9.3.18 · Fix SIGHUP and SIGUSR1 handling in walsender processes
- Same changePostgreSQL 9.2.22 · Fix SIGHUP and SIGUSR1 handling in walsender processes
ImprovementsPrevent walsender-triggered panics during shutdown checkpoints
Changes
Prevent walsender-triggered panics during shutdown checkpoints (Andres Freund, Michael Paquier)
Related records (2)
Bug fixesFix unnecessarily slow restarts of walreceiver processes due to race condition in postmaster
Changes
Fix unnecessarily slow restarts of walreceiver processes due to race condition in postmaster (Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix unnecessarily slow restarts of walreceiver processes due to race condition in postmaster
- Same changePostgreSQL 9.5.8 · Fix unnecessarily slow restarts of walreceiver processes due to race condition in postmaster
- Same changePostgreSQL 9.3.18 · Fix unnecessarily slow restarts of walreceiver processes due to race condition in postmaster
- Same changePostgreSQL 9.2.22 · Fix unnecessarily slow restarts of walreceiver processes due to race condition in postmaster
Bug fixesFix logical decoding failure with very wide tuples
Changes
Fix logical decoding failure with very wide tuples (Andres Freund)
Logical decoding crashed on tuples that are wider than 64KB (after compression, but with all data in-line). The case arises only when REPLICA IDENTITY FULL is enabled for a table containing such tuples.
Bug fixesFix leakage of small subtransactions spilled to disk during logical decoding
Changes
Fix leakage of small subtransactions spilled to disk during logical decoding (Andres Freund)
This resulted in temporary files consuming excessive disk space.
ImprovementsReduce the work needed to build snapshots during creation of logical-decoding slots
Changes
Reduce the work needed to build snapshots during creation of logical-decoding slots (Andres Freund, Petr Jelinek)
The previous algorithm was infeasibly expensive on a server with a lot of open transactions.
Bug fixesFix race condition that could indefinitely delay creation of logical-decoding slots
Changes
Fix race condition that could indefinitely delay creation of logical-decoding slots (Andres Freund, Petr Jelinek)
PerformanceReduce overhead in processing syscache invalidation events
Changes
Reduce overhead in processing syscache invalidation events (Tom Lane)
This is particularly helpful for logical decoding, which triggers frequent cache invalidation.
Related records (2)
Bug fixesFix cases where an INSERT or UPDATE assigns to more than one element of a column that is of domain-over-array type
Changes
Fix cases where an INSERT or UPDATE assigns to more than one element of a column that is of domain-over-array type (Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix cases where an INSERT or UPDATE assigns to more than one element of a column that is of domain-over-array type
- Same changePostgreSQL 9.5.8 · Fix cases where an INSERT or UPDATE assigns to more than one element of a column that is of domain-over-array type
- Same changePostgreSQL 9.3.18 · Fix cases where an INSERT or UPDATE assigns to more than one element of a column that is of domain-over-array type
- Same changePostgreSQL 9.2.22 · Fix cases where an INSERT or UPDATE assigns to more than one element of a column that is of domain-over-array type
ImprovementsAllow window functions to be used in sub-SELECTs that are within the arguments of an aggregate function
Changes
Allow window functions to be used in sub-SELECTs that are within the arguments of an aggregate function (Tom Lane)
Related records (3)
- Same changePostgreSQL 9.6.4 · Allow window functions to be used in sub-SELECTs that are within the arguments of an aggregate function
- Same changePostgreSQL 9.5.8 · Allow window functions to be used in sub-SELECTs that are within the arguments of an aggregate function
- Same changePostgreSQL 9.3.18 · Allow window functions to be used in sub-SELECTs that are within the arguments of an aggregate function
ImprovementsMove autogenerated array types out of the way during ALTER ... RENAME
Changes
Move autogenerated array types out of the way during ALTER ... RENAME (Vik Fearing)
Previously, we would rename a conflicting autogenerated array type out of the way during CREATE; this fix extends that behavior to renaming operations.
Related records (4)
- Same changePostgreSQL 9.6.4 · Move autogenerated array types out of the way during ALTER ... RENAME
- Same changePostgreSQL 9.5.8 · Move autogenerated array types out of the way during ALTER ... RENAME
- Same changePostgreSQL 9.3.18 · Move autogenerated array types out of the way during ALTER ... RENAME
- Same changePostgreSQL 9.2.22 · Move autogenerated array types out of the way during ALTER ... RENAME
ImprovementsEnsure that ALTER USER ... SET accepts all the syntax variants that ALTER ROLE ... SET does
Changes
Ensure that ALTER USER ... SET accepts all the syntax variants that ALTER ROLE ... SET does (Peter Eisentraut)
Related records (4)
- Same changePostgreSQL 9.6.4 · Ensure that ALTER USER ... SET accepts all the syntax variants that ALTER ROLE ... SET does
- Same changePostgreSQL 9.5.8 · Ensure that ALTER USER ... SET accepts all the syntax variants that ALTER ROLE ... SET does
- Same changePostgreSQL 9.3.18 · Ensure that ALTER USER ... SET accepts all the syntax variants that ALTER ROLE ... SET does
- Same changePostgreSQL 9.2.22 · Ensure that ALTER USER ... SET accepts all the syntax variants that ALTER ROLE ... SET does
Bug fixesProperly update dependency info when changing a datatype I/O function's argument or return type from opaque to the correct type
Changes
Properly update dependency info when changing a datatype I/O function's argument or return type from opaque to the correct type (Heikki Linnakangas)
CREATE TYPE updates I/O functions declared in this long-obsolete style, but it forgot to record a dependency on the type, allowing a subsequent DROP TYPE to leave broken function definitions behind.
Related records (4)
- Same changePostgreSQL 9.6.4 · Properly update dependency info when changing a datatype I/O function's argument or return type from opaque to the correct type
- Same changePostgreSQL 9.5.8 · Properly update dependency info when changing a datatype I/O function's argument or return type from opaque to the correct type
- Same changePostgreSQL 9.3.18 · Properly update dependency info when changing a datatype I/O function's argument or return type from opaque to the correct type
- Same changePostgreSQL 9.2.22 · Properly update dependency info when changing a datatype I/O function's argument or return type from opaque to the correct type
ImprovementsReduce memory usage when ANALYZE processes a tsvector column
Changes
Reduce memory usage when ANALYZE processes a tsvector column (Heikki Linnakangas)
Related records (4)
- Same changePostgreSQL 9.6.4 · Reduce memory usage when ANALYZE processes a tsvector column
- Same changePostgreSQL 9.5.8 · Reduce memory usage when ANALYZE processes a tsvector column
- Same changePostgreSQL 9.3.18 · Reduce memory usage when ANALYZE processes a tsvector column
- Same changePostgreSQL 9.2.22 · Reduce memory usage when ANALYZE processes a tsvector column
Bug fixesFix unnecessary precision loss and sloppy rounding when multiplying or dividing money values by integers or floats
Changes
Fix unnecessary precision loss and sloppy rounding when multiplying or dividing money values by integers or floats (Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix unnecessary precision loss and sloppy rounding when multiplying or dividing money values by integers or floats
- Same changePostgreSQL 9.5.8 · Fix unnecessary precision loss and sloppy rounding when multiplying or dividing money values by integers or floats
- Same changePostgreSQL 9.3.18 · Fix unnecessary precision loss and sloppy rounding when multiplying or dividing money values by integers or floats
- Same changePostgreSQL 9.2.22 · Fix unnecessary precision loss and sloppy rounding when multiplying or dividing money values by integers or floats
ImprovementsTighten checks for whitespace in functions that parse identifiers, such as regprocedurein()
Changes
Tighten checks for whitespace in functions that parse identifiers, such as regprocedurein() (Tom Lane)
Depending on the prevailing locale, these functions could misinterpret fragments of multibyte characters as whitespace.
Related records (4)
- Same changePostgreSQL 9.6.4 · Tighten checks for whitespace in functions that parse identifiers, such as regprocedurein()
- Same changePostgreSQL 9.5.8 · Tighten checks for whitespace in functions that parse identifiers, such as regprocedurein()
- Same changePostgreSQL 9.3.18 · Tighten checks for whitespace in functions that parse identifiers, such as regprocedurein()
- Same changePostgreSQL 9.2.22 · Tighten checks for whitespace in functions that parse identifiers, such as regprocedurein()
ImprovementsUse relevant #define symbols from Perl while compiling PL/Perl
Changes
Use relevant #define symbols from Perl while compiling PL/Perl (Ashutosh Sharma, Tom Lane)
This avoids portability problems, typically manifesting as a "handshake" mismatch during library load, when working with recent Perl versions.
Related records (4)
- Same changePostgreSQL 9.6.4 · Use relevant #define symbols from Perl while compiling PL/Perl
- Same changePostgreSQL 9.5.8 · Use relevant #define symbols from Perl while compiling PL/Perl
- Same changePostgreSQL 9.3.18 · Use relevant #define symbols from Perl while compiling PL/Perl
- Same changePostgreSQL 9.2.22 · Use relevant #define symbols from Perl while compiling PL/Perl
ImprovementsIn libpq, reset GSS/SASL and SSPI authentication state properly after a failed connection attempt
Changes
In libpq, reset GSS/SASL and SSPI authentication state properly after a failed connection attempt (Michael Paquier)
Failure to do this meant that when falling back from SSL to non-SSL connections, a GSS/SASL failure in the SSL attempt would always cause the non-SSL attempt to fail. SSPI did not fail, but it leaked memory.
Related records (3)
- Same changePostgreSQL 9.6.4 · In libpq, reset GSS/SASL and SSPI authentication state properly after a failed connection attempt
- Same changePostgreSQL 9.5.8 · In libpq, reset GSS/SASL and SSPI authentication state properly after a failed connection attempt
- Same changePostgreSQL 9.3.18 · In libpq, reset GSS/SASL and SSPI authentication state properly after a failed connection attempt
Bug fixesIn psql, fix failure when COPY FROM STDIN is ended with a keyboard EOF signal and then another COPY FROM STDIN is attempted
Changes
In psql, fix failure when COPY FROM STDIN is ended with a keyboard EOF signal and then another COPY FROM STDIN is attempted (Thomas Munro)
This misbehavior was observed on BSD-derived platforms (including macOS), but not on most others.
Related records (4)
- Same changePostgreSQL 9.6.4 · In psql, fix failure when COPY FROM STDIN is ended with a keyboard EOF signal and then another COPY FROM STDIN is attempted
- Same changePostgreSQL 9.5.8 · In psql, fix failure when COPY FROM STDIN is ended with a keyboard EOF signal and then another COPY FROM STDIN is attempted
- Same changePostgreSQL 9.3.18 · In psql, fix failure when COPY FROM STDIN is ended with a keyboard EOF signal and then another COPY FROM STDIN is attempted
- Same changePostgreSQL 9.2.22 · In psql, fix failure when COPY FROM STDIN is ended with a keyboard EOF signal and then another COPY FROM STDIN is attempted
Bug fixesFix pg_dump and pg_restore to emit REFRESH MATERIALIZED VIEW commands last
Changes
Fix pg_dump and pg_restore to emit REFRESH MATERIALIZED VIEW commands last (Tom Lane)
This prevents errors during dump/restore when a materialized view refers to tables owned by a different user.
Related records (3)
- Same changePostgreSQL 9.6.4 · Fix pg_dump and pg_restore to emit REFRESH MATERIALIZED VIEW commands last
- Same changePostgreSQL 9.5.8 · Fix pg_dump and pg_restore to emit REFRESH MATERIALIZED VIEW commands last
- Same changePostgreSQL 9.3.18 · Fix pg_dump and pg_restore to emit REFRESH MATERIALIZED VIEW commands last
ImprovementsImprove pg_dump/pg_restore's reporting of error conditions originating in zlib
Changes
Improve pg_dump/pg_restore's reporting of error conditions originating in zlib (Vladimir Kunschikov, Álvaro Herrera)
Bug fixesFix pg_dump with the --clean option to drop event triggers as expected
Changes
Fix pg_dump with the --clean option to drop event triggers as expected (Tom Lane)
It also now correctly assigns ownership of event triggers; before, they were restored as being owned by the superuser running the restore script.
Related records (3)
- Same changePostgreSQL 9.6.4 · Fix pg_dump with the --clean option to drop event triggers as expected
- Same changePostgreSQL 9.5.8 · Fix pg_dump with the --clean option to drop event triggers as expected
- Same changePostgreSQL 9.3.18 · Fix pg_dump with the --clean option to drop event triggers as expected
Bug fixesFix pg_dump to not emit invalid SQL for an empty operator class
Changes
Fix pg_dump to not emit invalid SQL for an empty operator class (Daniel Gustafsson)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix pg_dump to not emit invalid SQL for an empty operator class
- Same changePostgreSQL 9.5.8 · Fix pg_dump to not emit invalid SQL for an empty operator class
- Same changePostgreSQL 9.3.18 · Fix pg_dump to not emit invalid SQL for an empty operator class
- Same changePostgreSQL 9.2.22 · Fix pg_dump to not emit invalid SQL for an empty operator class
Bug fixesFix pg_dump output to stdout on Windows
Changes
Fix pg_dump output to stdout on Windows (Kuntal Ghosh)
A compressed plain-text dump written to stdout would contain corrupt data due to failure to put the file descriptor into binary mode.
Related records (4)
Bug fixesFix pg_get_ruledef() to print correct output for the ON SELECT rule of a view whose columns have been renamed
Changes
Fix pg_get_ruledef() to print correct output for the ON SELECT rule of a view whose columns have been renamed (Tom Lane)
In some corner cases, pg_dump relies on pg_get_ruledef() to dump views, so that this error could result in dump/reload failures.
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix pg_get_ruledef() to print correct output for the ON SELECT rule of a view whose columns have been renamed
- Same changePostgreSQL 9.5.8 · Fix pg_get_ruledef() to print correct output for the ON SELECT rule of a view whose columns have been renamed
- Same changePostgreSQL 9.3.18 · Fix pg_get_ruledef() to print correct output for the ON SELECT rule of a view whose columns have been renamed
- Same changePostgreSQL 9.2.22 · Fix pg_get_ruledef() to print correct output for the ON SELECT rule of a view whose columns have been renamed
Bug fixesFix dumping of outer joins with empty constraints, such as the result of a NATURAL LEFT JOIN with no common columns
Changes
Fix dumping of outer joins with empty constraints, such as the result of a NATURAL LEFT JOIN with no common columns (Tom Lane)
Related records (3)
- Same changePostgreSQL 9.6.4 · Fix dumping of outer joins with empty constraints, such as the result of a NATURAL LEFT JOIN with no common columns
- Same changePostgreSQL 9.5.8 · Fix dumping of outer joins with empty constraints, such as the result of a NATURAL LEFT JOIN with no common columns
- Same changePostgreSQL 9.3.18 · Fix dumping of outer joins with empty constraints, such as the result of a NATURAL LEFT JOIN with no common columns
Bug fixesFix dumping of function expressions in the FROM clause in cases where the expression does not deparse into something that looks like a function call
Changes
Fix dumping of function expressions in the FROM clause in cases where the expression does not deparse into something that looks like a function call (Tom Lane)
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix dumping of function expressions in the FROM clause in cases where the expression does not deparse into something that looks like a function call
- Same changePostgreSQL 9.5.8 · Fix dumping of function expressions in the FROM clause in cases where the expression does not deparse into something that looks like a function call
- Same changePostgreSQL 9.3.18 · Fix dumping of function expressions in the FROM clause in cases where the expression does not deparse into something that looks like a function call
- Same changePostgreSQL 9.2.22 · Fix dumping of function expressions in the FROM clause in cases where the expression does not deparse into something that looks like a function call
Bug fixesFix pg_basebackup output to stdout on Windows
Changes
Fix pg_basebackup output to stdout on Windows (Haribabu Kommi)
A backup written to stdout would contain corrupt data due to failure to put the file descriptor into binary mode.
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix pg_basebackup output to stdout on Windows
- Same changePostgreSQL 9.5.8 · Fix pg_basebackup output to stdout on Windows
- Same changePostgreSQL 9.3.18 · Fix pg_basebackup output to stdout on Windows
- Same changePostgreSQL 9.2.22 · Fix pg_basebackup output to stdout on Windows
Bug fixesFix pg_upgrade to ensure that the ending WAL record does not have wal_level = minimum
Changes
Fix pg_upgrade to ensure that the ending WAL record does not have wal_level = minimum (Bruce Momjian)
This condition could prevent upgraded standby servers from reconnecting.
Related records (4)
- Same changePostgreSQL 9.6.4 · Fix pg_upgrade to ensure that the ending WAL record does not have wal_level = minimum
- Same changePostgreSQL 9.5.8 · Fix pg_upgrade to ensure that the ending WAL record does not have wal_level = minimum
- Same changePostgreSQL 9.3.18 · Fix pg_upgrade to ensure that the ending WAL record does not have wal_level = minimum
- Same changePostgreSQL 9.2.22 · Fix pg_upgrade to ensure that the ending WAL record does not have wal_level = minimum
ImprovementsIn postgres_fdw, re-establish connections to remote servers after ALTER SERVER or ALTER USER MAPPING commands
Changes
In postgres_fdw, re-establish connections to remote servers after ALTER SERVER or ALTER USER MAPPING commands (Kyotaro Horiguchi)
This ensures that option changes affecting connection parameters will be applied promptly.
Related records (3)
- Same changePostgreSQL 9.6.4 · In postgres_fdw, re-establish connections to remote servers after ALTER SERVER or ALTER USER MAPPING commands
- Same changePostgreSQL 9.5.8 · In postgres_fdw, re-establish connections to remote servers after ALTER SERVER or ALTER USER MAPPING commands
- Same changePostgreSQL 9.3.18 · In postgres_fdw, re-establish connections to remote servers after ALTER SERVER or ALTER USER MAPPING commands
ImprovementsIn postgres_fdw, allow cancellation of remote transaction control commands
Changes
In postgres_fdw, allow cancellation of remote transaction control commands (Robert Haas, Rafia Sabih)
This change allows us to quickly escape a wait for an unresponsive remote server in many more cases than previously.
Related records (3)
- Same changePostgreSQL 9.6.4 · In postgres_fdw, allow cancellation of remote transaction control commands
- Same changePostgreSQL 9.5.8 · In postgres_fdw, allow cancellation of remote transaction control commands
- Same changePostgreSQL 9.3.18 · In postgres_fdw, allow cancellation of remote transaction control commands
ImprovementsIncrease MAX_SYSCACHE_CALLBACKS to provide more room for extensions
Changes
Increase MAX_SYSCACHE_CALLBACKS to provide more room for extensions (Tom Lane)
ImprovementsAlways use -fPIC, not -fpic, when building shared libraries with gcc
Changes
Always use -fPIC, not -fpic, when building shared libraries with gcc (Tom Lane)
This supports larger extension libraries on platforms where it makes a difference.
Related records (4)
- Same changePostgreSQL 9.6.4 · Always use -fPIC, not -fpic, when building shared libraries with gcc
- Same changePostgreSQL 9.5.8 · Always use -fPIC, not -fpic, when building shared libraries with gcc
- Same changePostgreSQL 9.3.18 · Always use -fPIC, not -fpic, when building shared libraries with gcc
- Same changePostgreSQL 9.2.22 · Always use -fPIC, not -fpic, when building shared libraries with gcc
Bug fixesFix unescaped-braces issue in our build scripts for Microsoft MSVC, to avoid a warning or error from recent Perl versions
Changes
Fix unescaped-braces issue in our build scripts for Microsoft MSVC, to avoid a warning or error from recent Perl versions (Andrew Dunstan)
Related records (3)
- Same changePostgreSQL 9.5.8 · Fix unescaped-braces issue in our build scripts for Microsoft MSVC, to avoid a warning or error from recent Perl versions
- Same changePostgreSQL 9.3.18 · Fix unescaped-braces issue in our build scripts for Microsoft MSVC, to avoid a warning or error from recent Perl versions
- Same changePostgreSQL 9.2.22 · Fix unescaped-braces issue in our build scripts for Microsoft MSVC, to avoid a warning or error from recent Perl versions
ImprovementsIn MSVC builds, handle the case where the openssl library is not within a VC subdirectory
Changes
In MSVC builds, handle the case where the openssl library is not within a VC subdirectory (Andrew Dunstan)
Related records (4)
- Same changePostgreSQL 9.6.4 · In MSVC builds, handle the case where the openssl library is not within a VC subdirectory
- Same changePostgreSQL 9.5.8 · In MSVC builds, handle the case where the openssl library is not within a VC subdirectory
- Same changePostgreSQL 9.3.18 · In MSVC builds, handle the case where the openssl library is not within a VC subdirectory
- Same changePostgreSQL 9.2.22 · In MSVC builds, handle the case where the openssl library is not within a VC subdirectory
ImprovementsIn MSVC builds, add proper include path for libxml2 header files
Changes
In MSVC builds, add proper include path for libxml2 header files (Andrew Dunstan)
This fixes a former need to move things around in standard Windows installations of libxml2.
Related records (4)
- Same changePostgreSQL 9.6.4 · In MSVC builds, add proper include path for libxml2 header files
- Same changePostgreSQL 9.5.8 · In MSVC builds, add proper include path for libxml2 header files
- Same changePostgreSQL 9.3.18 · In MSVC builds, add proper include path for libxml2 header files
- Same changePostgreSQL 9.2.22 · In MSVC builds, add proper include path for libxml2 header files
ImprovementsIn MSVC builds, recognize a Tcl library that is named tcl86.lib
Changes
In MSVC builds, recognize a Tcl library that is named tcl86.lib (Noah Misch)
Related records (4)
- Same changePostgreSQL 9.6.4 · In MSVC builds, recognize a Tcl library that is named tcl86.lib
- Same changePostgreSQL 9.5.8 · In MSVC builds, recognize a Tcl library that is named tcl86.lib
- Same changePostgreSQL 9.3.18 · In MSVC builds, recognize a Tcl library that is named tcl86.lib
- Same changePostgreSQL 9.2.22 · In MSVC builds, recognize a Tcl library that is named tcl86.lib
ImprovementsIn MSVC builds, honor PROVE_FLAGS settings on vcregress.pl's command line
Changes
In MSVC builds, honor PROVE_FLAGS settings on vcregress.pl's command line (Andrew Dunstan)
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.