chunk_id
large_stringlengths
36
36
doc_type
large_stringclasses
2 values
category
large_stringclasses
17 values
document
large_stringclasses
50 values
version_raw
large_stringclasses
590 values
chunk_index
int64
0
262
text
large_stringlengths
11
5.69k
file_path
large_stringclasses
882 values
8ea28ea4-d821-52c5-a650-de9ca215a345
changelog
postgresql
postgresql
172
4
| [Prev](release-17-3.html "E.5. Release 17.3") | [Up](release.html "Appendix E. Release Notes") | [Next](release-17-1.html "E.7. Release 17.1") | | E.5. Release 17.3 | [Home](index.html "PostgreSQL 17.7 Documentation") | E.7. Release 17.1 | [Previous](/docs/release/17.1/) [Return to the Release Notes Archive](/docs/...
large_dataset/raw/changelog/postgresql_releases/postgresql_172.md
9ed6e2a4-3df3-5c15-a39c-ca9a97422c68
changelog
postgresql
postgresql
173
0
# Release Notes Source: https://www.postgresql.org/docs/release/17.3/ Version: 17.3 ## PostgreSQL 17.3 | E.5. Release 17.3 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-17-4.html "E.4. Release 17.4") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
5bc681df-14ca-5056-b8d8-4e484501166f
changelog
postgresql
postgresql
173
1
### E.5.2. Changes [#](#RELEASE-17-3-CHANGES) * Harden `PQescapeString` and allied functions against invalidly-encoded input strings (Andres Freund, Noah Misch) [§](https://postgr.es/c/43a77239d) [§](https://postgr.es/c/7d43ca6fe) [§](https://postgr.es/c/61ad93cdd) [§](https://postgr.es/c/02d4d87ac) [§](https://postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
927a4ab9-bbf8-55c7-9963-9fbea1c3e651
changelog
postgresql
postgresql
173
2
The purpose of this change is to guard against SQL-injection attacks that are possible if one of these functions is used to quote crafted input. There is no hazard when the resulting string is sent directly to a PostgreSQL server (which would check its encoding anyway), but there is a risk when it is passed through p...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
2bd1105e-cdb4-58a4-8e56-9a5d4b4f1b2f
changelog
postgresql
postgresql
173
3
The PostgreSQL Project thanks Stephen Fewer for reporting this problem. (CVE-2025-1094) * Restore auto-truncation of database and user names appearing in connection requests (Nathan Bossart) [§](https://postgr.es/c/d09fbf645) This reverts a v17 change that proved to cause trouble for some users. Over-length names ...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
bdd3e1c7-b507-5f81-98cd-a559229d0b8b
changelog
postgresql
postgresql
173
4
Do not check `datallowconn`, `rolcanlogin`, and `ACL_CONNECT` privileges when starting a parallel worker, instead assuming that it's enough for the leader process to have passed similar checks originally. This avoids, for example, unexpected failures of parallelized queries when the leader is running as a role that l...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
2bcf9c7b-7c2c-514a-8598-cf18194f36a4
changelog
postgresql
postgresql
173
5
Refactoring unintentionally caused the `pg_stat_activity` view to show lock-related wait event names with a “Lock” suffix, which among other things broke joining it to `pg_wait_events`. * Fix possible failure to return all matching tuples for a btree index scan with a ScalarArrayOp (`= ANY`) condition (Peter Geoghega...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
36b86c8c-313d-5e45-90d5-34a673e77414
changelog
postgresql
postgresql
173
6
* Fix race condition that could cause failure to add a newly-inserted catalog entry to a catalog cache list (Heikki Linnakangas) [§](https://postgr.es/c/96e61b279) This could result, for example, in failure to use a newly-created function within an existing session. * Prevent possible catalog corruption when a syste...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
9001dfb9-f34d-55a2-b537-870a68daa825
changelog
postgresql
postgresql
173
7
The filesystem calls needed to perform relation truncation could fail, leaving inconsistent state on disk (for example, effectively reviving deleted data). We can't really prevent that, but we can recover by dint of making such failures into PANICs, so that consistency is restored by replaying from WAL up to just bef...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
7c8b467f-5433-5f44-92ef-ab125059656f
changelog
postgresql
postgresql
173
8
* Fix incorrect `tg_updatedcols` values passed to `AFTER UPDATE` triggers (Tom Lane) [§](https://postgr.es/c/2b72fed2d) In some cases the `tg_updatedcols` bitmap could describe the set of columns updated by an earlier command in the same transaction, fooling the trigger into doing the wrong thing. Also, prevent m...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
b57a51ab-0bd7-5a46-a9e7-ccc31ba5a7b7
changelog
postgresql
postgresql
173
9
* Fix `pg_get_constraintdef`'s support for `NOT NULL` constraints on domains (Álvaro Herrera) [§](https://postgr.es/c/6e793582b) * Fix mis-processing of `to_timestamp`'s `FFn` format codes (Tom Lane) [§](https://postgr.es/c/765f76d8c) An integer format code immediately preceding `FFn` would consume all available dig...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
40c88ab7-6222-562a-80be-4a761737bc23
changelog
postgresql
postgresql
173
10
This error could lead to sorting data with the wrong sort operator, with consequences ranging from no visible problem to core dumps. * Don't merge `UNION` operations if their column collations aren't consistent (Tom Lane) [§](https://postgr.es/c/c1ebef3c1) Previously we ignored collations when deciding if it's saf...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
10e016e9-6fde-5aa8-9cf3-6db419adf847
changelog
postgresql
postgresql
173
11
* Fix missed expression processing for partition pruning steps (Tom Lane) [§](https://postgr.es/c/0671a71e0) This oversight could lead to “unrecognized node type” errors, and perhaps other problems, in queries accessing partitioned tables. * Give the slotsync worker process its own process slot (Tom Lane, Hou Zhijie...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
a395eed1-37b4-5cf4-975a-03b7c234fca5
changelog
postgresql
postgresql
173
12
* Avoid possible integer overflow in `bringetbitmap()` (James Hunter, Evgeniy Gorbanyov) [§](https://postgr.es/c/e027ee990) Since the result is only used for statistical purposes, the effects of this error were mostly cosmetic. * Correct miscalculation of SLRU bank numbers (Yura Sokolov) [§](https://postgr.es/c/ffd9...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
21392cf0-4662-5c6b-b99d-55ff6bb88418
changelog
postgresql
postgresql
173
13
This would happen when the record's continuation is on a page that needs to be read from a different WAL source. * Fix unintended promotion of FATAL errors to PANIC during early process startup (Noah Misch) [§](https://postgr.es/c/4bd9de3f4) This fixes some unlikely cases that would result in “PANIC: proc\_exit() ...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
3f9d0918-8cd1-5595-8ba4-28e6de17074d
changelog
postgresql
postgresql
173
14
In some cases a data type could be dropped while references to its OID still remain in `pg_amop` or `pg_amproc`. While that caused no immediate issues, an attempt to drop the owning operator family would fail, and pg\_dump would produce bogus output when dumping the operator family. This fix causes creation and modif...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
0ddd7482-94a1-5577-b88c-f272e3b1f417
changelog
postgresql
postgresql
173
15
* Avoid crash when a background process tries to check a new value of `synchronized_standby_slots` (Álvaro Herrera) [§](https://postgr.es/c/9abdc1841) * Avoid integer overflow while testing `wal_skip_threshold` condition (Tom Lane) [§](https://postgr.es/c/1e25cdb21) A transaction that created a very large relation c...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
70029c19-54ad-5a64-bba6-0ccfdb65509f
changelog
postgresql
postgresql
173
16
* Fix possible “failed to resolve name” failures when using JIT on older ARM platforms (Thomas Munro) [§](https://postgr.es/c/8a9a51518) This could occur as a consequence of inconsistency about the default setting of `-moutline-atomics` between gcc and clang. At least Debian and Ubuntu are known to ship gcc and clan...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
dfcf37ca-f914-5fe7-88e5-85e7e2cb9341
changelog
postgresql
postgresql
173
17
* In `NULLIF()`, avoid passing a read-write expanded object pointer to the data type's equality function (Tom Lane) [§](https://postgr.es/c/97be02ad0) The equality function could modify or delete the object if it's given a read-write pointer, which would be bad if we decide to return it as the `NULLIF()` result. The...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
a1a2fb5c-a15b-57e7-9ea6-763af07256d9
changelog
postgresql
postgresql
173
18
* Avoid data loss when starting a bulk write on a relation fork that already contains data (Matthias van de Meent) [§](https://postgr.es/c/969583553) Any pre-existing data was overwritten with zeroes. This is not an issue for core PostgreSQL, which never does that. Some extensions would like to, however. * Avoid cra...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
dc3c7637-cfa0-5b48-94e9-543c2fe85784
changelog
postgresql
postgresql
173
19
* In ecpg, fix compile-time warnings about unsupported use of `COPY ... FROM STDIN` (Ryo Kanbayashi) [§](https://postgr.es/c/ba2dbedd5) Previously, the intended warning was not issued due to a typo. * Fix psql to safely handle file path names that are encoded in SJIS (Tom Lane) [§](https://postgr.es/c/0b713b94b) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
fd2bdc8d-d294-508d-a355-27d74916c8fd
changelog
postgresql
postgresql
173
20
* Fix misexecution of some nested `\if` constructs in pgbench (Michail Nikolaev) [§](https://postgr.es/c/ff9dc96f3) An `\if` command appearing within a false (not-being-executed) `\if` branch was incorrectly treated the same as `\elif`. * In pgbench, fix possible misdisplay of progress messages during table initiali...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
d1f836cc-2136-5eb7-96c7-062ce05aef09
changelog
postgresql
postgresql
173
21
* Fix memory leak in pg\_restore with zstd-compressed data (Tom Lane) [§](https://postgr.es/c/04b860198) The leak was per-decompression-operation, so would be most noticeable with a dump containing many tables or large objects. * Fix pg\_basebackup to correctly handle `pg_wal.tar` files exceeding 2GB on Windows (Dav...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
9f68cf35-adea-51b4-abe5-88ebabf077cc
changelog
postgresql
postgresql
173
22
In particular, this restores their usability in contexts like generated columns, for which PostgreSQL v17 restricts the search path on security grounds. We have received reports of databases failing to be upgraded to v17 because of that. This patch has been included in v16 to provide a workaround: updating the `earth...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
2ba2f534-556c-5ad8-bc4a-d4954022a107
changelog
postgresql
postgresql
173
23
This fixes a race condition where we might try to cancel a just-sent query before the remote server has started to process it, so that the initial cancel request is ignored. * Update configuration probes that determine the compiler switches needed to access ARM CRC instructions (Tom Lane) [§](https://postgr.es/c/e266...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
795fc5cb-3efe-5788-93c4-ec066fbef2f0
changelog
postgresql
postgresql
173
24
This fixes “unresolved external symbol” build errors for extensions. * Fix meson configuration process to correctly detect OSSP's `uuid.h` header file under MSVC (Andrew Dunstan) [§](https://postgr.es/c/7c655a04a) * When building with meson, install `pgevent` in *`pkglibdir`* not *`bindir`* (Peter Eisentraut) [§](htt...
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
6681cfd2-241b-5365-83f7-2ca8f46361df
changelog
postgresql
postgresql
173
25
| E.4. Release 17.4 | [Home](index.html "PostgreSQL 17.7 Documentation") | E.6. Release 17.2 | [Previous](/docs/release/17.2/) [Return to the Release Notes Archive](/docs/release/) [Next](/docs/release/17.4/)
large_dataset/raw/changelog/postgresql_releases/postgresql_173.md
b100987a-9303-502c-9a2c-d1a10dd62ef1
changelog
postgresql
postgresql
174
0
# Release Notes Source: https://www.postgresql.org/docs/release/17.4/ Version: 17.4 ## PostgreSQL 17.4 | E.4. Release 17.4 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-17-5.html "E.3. Release 17.5") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_174.md
b4b20041-9224-563e-bcd9-4c4129592ef4
changelog
postgresql
postgresql
174
1
### E.4.2. Changes [#](#RELEASE-17-4-CHANGES) * Improve behavior of libpq's quoting functions (Andres Freund, Tom Lane) [§](https://postgr.es/c/a92db3d02) [§](https://postgr.es/c/3abe6e04c) [§](https://postgr.es/c/3977bd298) The changes made for CVE-2025-1094 had one serious oversight: `PQescapeLiteral()` and `PQes...
large_dataset/raw/changelog/postgresql_releases/postgresql_174.md
039046d8-4054-5bcd-8eae-30a014ad8a9d
changelog
postgresql
postgresql
174
2
* Fix small memory leak in pg\_createsubscriber (Ranier Vilela) [§](https://postgr.es/c/ff6d9cfcb) * Fix meson build system to correctly detect availability of the `bsd_auth.h` system header (Nazir Bilal Yavuz) [§](https://postgr.es/c/c9a1d2135) --- | | | | | --- | --- | --- | | [Prev](release-17-5.html "E.3. Rele...
large_dataset/raw/changelog/postgresql_releases/postgresql_174.md
14f04577-7b2c-57ae-84b1-a842dceae4cb
changelog
postgresql
postgresql
175
0
# Release Notes Source: https://www.postgresql.org/docs/release/17.5/ Version: 17.5 ## PostgreSQL 17.5 | E.3. Release 17.5 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-17-6.html "E.2. Release 17.6") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
c474a499-8068-53dc-b348-a0a0623577bc
changelog
postgresql
postgresql
175
1
However, if you have any self-referential foreign key constraints on partitioned tables, it may be necessary to recreate those constraints to ensure that they are being enforced correctly. See the second changelog entry below. Also, if you have any BRIN bloom indexes, it may be advisable to reindex them after updating...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
a8531a7d-4ac1-5f38-8332-e01377cd48cf
changelog
postgresql
postgresql
175
2
* Handle self-referential foreign keys on partitioned tables correctly (Álvaro Herrera) [§](https://postgr.es/c/f51ae3187) Creating or attaching partitions failed to make the required catalog entries for a foreign-key constraint, if the table referenced by the constraint was the same partitioned table. This resulted...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
9453e61e-55e9-54ba-9685-35f4346212f8
changelog
postgresql
postgresql
175
3
The code failed to account for decompression results not being identical to the input objects, which would result in failure to add some of the data to the merged summary, leading to missed rows in index searches. This mistake was present back to v14 where BRIN bloom indexes were introduced, but this code path was...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
4c4ad3dc-2e2a-5802-b190-6886310bd01b
changelog
postgresql
postgresql
175
4
* Prevent failure in `INSERT` commands when the table has a `GENERATED` column of a domain data type and the domain's constraints disallow null values (Jian He) [§](https://postgr.es/c/3c39c000c) Constraint failure was reported even if the generation expression produced a perfectly okay result. * Correctly process r...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
8395f077-41fe-5dc7-b675-11dce615120a
changelog
postgresql
postgresql
175
5
The protocol for communicating with parallel workers doesn't support identifying the concrete record type that a worker is returning. * Fix `ARRAY(subquery)` and `ARRAY[expression, ...]` constructs to produce sane results when the input is of type `int2vector` or `oidvector` (Tom Lane) [§](https://postgr.es/c/c826cd1...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
1fe1ab6b-9ee7-5b6d-aab0-9c172d708c04
changelog
postgresql
postgresql
175
6
* Repair misbehavior when there are duplicate column names in a foreign key constraint's `ON DELETE SET DEFAULT` or `SET NULL` action (Tom Lane) [§](https://postgr.es/c/5e6e97fbf) * Improve the error message for disallowed attempts to alter the properties of a foreign key constraint (Álvaro Herrera) [§](https://postgr....
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
41b49f0b-424c-51f6-926b-bde6b554dcd1
changelog
postgresql
postgresql
175
7
If there is `ORDER BY` or `DISTINCT`, we consider pre-sorting the aggregate input values rather than doing the sort within the Agg plan node. But this is problematic if the aggregate inputs include expressions that could fail (for example, a division where some of the input divisors could be zero) and there is a `FIL...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
21fd09cc-fc2e-5b9a-bab0-3690e8af878f
changelog
postgresql
postgresql
175
8
* Avoid incorrect optimizations based on `IS [NOT] NULL` tests that are applied to composite values (Bruce Momjian) [§](https://postgr.es/c/b8b1e87b7) * Fix planner's failure to identify more than one hashable ScalarArrayOpExpr subexpression within a top-level expression (David Geier) [§](https://postgr.es/c/5672a8399)...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
e391b21c-ec84-5433-9a6c-ae77292c3adb
changelog
postgresql
postgresql
175
9
* Disable “skip fetch” optimization in bitmap heap scan (Matthias van de Meent) [§](https://postgr.es/c/78cb2466f) It turns out that this optimization can result in returning dead tuples when a concurrent vacuum marks a page all-visible. * Fix performance issues in GIN index search startup when there are many search...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
f69eb4cc-3f69-5cbc-b8b3-3d25e20163d6
changelog
postgresql
postgresql
175
10
* Report the I/O statistics of active WAL senders more frequently (Bertrand Drouvot) [§](https://postgr.es/c/5cbbe70a9) Previously, the `pg_stat_io` view failed to accumulate I/O performed by a WAL sender until that process exited. Now such I/O will be reported after at most one second's delay. * Fix race condition ...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
e0abe3e3-777a-55af-a511-f4c77ef55c00
changelog
postgresql
postgresql
175
11
* Fix `pg_strtof()` to not crash with null endptr (Alexander Lakhin, Tom Lane) [§](https://postgr.es/c/d69c78108) * Fix crash after out-of-memory in certain GUC assignments (Daniel Gustafsson) [§](https://postgr.es/c/8afec4ef6) * Avoid crash when a Snowball stemmer encounters an out-of-memory condition (Maksim Korotkov...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
ee8575d6-9f61-583a-adf2-ac5f576ceb7c
changelog
postgresql
postgresql
175
12
* Prevent over-advancement of catalog xmin in “fast forward” mode of logical decoding (Zhijie Hou) [§](https://postgr.es/c/36148b22e) This mistake could allow deleted catalog entries to be vacuumed away even though they were still potentially needed by the WAL-reading process. * Avoid data loss when DDL operations t...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
1f6558d8-8103-5299-8a04-10477058ed04
changelog
postgresql
postgresql
175
13
* Fix crash in logical replication if the subscriber's partitioned table has a BRIN index (Tom Lane) [§](https://postgr.es/c/788baa9a2) * Avoid duplicate snapshot creation in logical replication index lookups (Heikki Linnakangas) [§](https://postgr.es/c/c1dd3a944) [§](https://postgr.es/c/f1ef111a0) * Improve detection ...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
b805704d-ac0f-5092-9dad-8c3666b64a1e
changelog
postgresql
postgresql
175
14
If the requested recovery timeline is not reachable, the reported checkpoint and timeline should be the values read from the backup\_label, if there is one. This message previously reported values from the control file, which is correct when recovering from the control file without a backup\_label, but not when there...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
111bbca4-28b4-58b8-9ee6-0e7c8b354195
changelog
postgresql
postgresql
175
15
* Fix rare assertion failure in standby servers when the primary is restarted (Heikki Linnakangas) [§](https://postgr.es/c/302ce5bd9) * In PL/pgSQL, avoid “unexpected plan node type” error when a scrollable cursor is defined on a simple `SELECT expression` query (Andrei Lepikhov) [§](https://postgr.es/c/1353b1161) * Do...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
b007d08a-13d8-5ae7-bbed-5899a40d2cdb
changelog
postgresql
postgresql
175
16
Instead, print a warning and skip the entry. This copes better with catalog corruption that has been seen to occur in back branches as a result of race conditions between `GRANT` and `DROP ROLE`. * In pg\_amcheck and pg\_upgrade, use the correct function to free allocations made by libpq (Michael Paquier, Ranier Vile...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
11a616c8-df9e-538e-b82b-82121a63a6a1
changelog
postgresql
postgresql
175
17
* Prevent assertion failure in `contrib/pg_freespacemap`'s `pg_freespacemap()` (Tender Wang) [§](https://postgr.es/c/51d038da8) Applying `pg_freespacemap()` to a relation lacking storage (such as a view) caused an assertion failure, although there was no ill effect in non-assert builds. Add an error check to reject ...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
f87c7d4d-ea4d-5225-8044-4edf50a42bbf
changelog
postgresql
postgresql
175
18
This affects no core code in released versions of PostgreSQL, but an extension using the per-buffer data feature might have encountered spurious failures when being tested under valgrind. * Avoid valgrind complaints about string hashing code (John Naylor) [§](https://postgr.es/c/fde7c0164) * Update time zone data fil...
large_dataset/raw/changelog/postgresql_releases/postgresql_175.md
d76fefb1-4aa8-553f-8997-717910e7a0b5
changelog
postgresql
postgresql
176
0
# Release Notes Source: https://www.postgresql.org/docs/release/17.6/ Version: 17.6 ## PostgreSQL 17.6 | E.2. Release 17.6 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-17-7.html "E.1. Release 17.7") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
57ffbd5f-b31c-5280-8f77-64d8fceaa99e
changelog
postgresql
postgresql
176
1
However, if you have any BRIN `numeric_minmax_multi_ops` indexes, it is advisable to reindex them after updating. See the fourth changelog entry below. Also, if you are upgrading from a version earlier than 17.5, see [Section E.3](release-17-5.html "E.3. Release 17.5"). ### E.2.2. Changes [#](#RELEASE-17-6-CHANGES) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
d0496abd-c1fd-5fd5-83d5-7e3b30f17bd2
changelog
postgresql
postgresql
176
2
The other gap applies to cases where the query accesses a table via a view, and the view owner has permissions to read the underlying table but the calling user does not have permissions on the view. The view owner's permissions satisfied the security checks, and the leaky function would get applied to the underlying...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
e03a072a-dca4-59f3-b3a9-c3f43c2c047e
changelog
postgresql
postgresql
176
3
Since dump/restore operations typically involve running SQL commands as superuser, the target database installation must trust the source server. However, it does not follow that the operating system user who executes psql to perform the restore should have to trust the source server. The risk here is that an attacke...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
1d88d9c5-6cff-5926-932b-96d8aa36090b
changelog
postgresql
postgresql
176
4
* Convert newlines to spaces in names included in comments in pg\_dump output (Noah Misch) [§](https://postgr.es/c/9b92f115b) Object names containing newlines offered the ability to inject arbitrary SQL commands into the output script. (Without the preceding fix, injection of psql meta-commands would also be possibl...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
2f3c7471-14c6-57d7-afab-69c76033340b
changelog
postgresql
postgresql
176
5
The results were sometimes wrong on 64-bit platforms, and wildly wrong on 32-bit platforms. This did not produce obvious failures because the logic is only used to choose how to merge values into ranges; at worst the index would become inefficient and bloated. Nonetheless it's recommended to reindex any BRIN indexes ...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
4523906a-a826-567c-9100-abda47596243
changelog
postgresql
postgresql
176
6
If a `MERGE` inside a CTE attempts an update or delete on a table with `BEFORE ROW` triggers, and a concurrent `UPDATE` or `DELETE` changes the target row, the `MERGE` command would fail (crashing in the case of an update action, and potentially executing the wrong action in the case of a delete action). * Fix `MERGE...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
e48557df-8d18-5b1c-a222-28eeba3547ef
changelog
postgresql
postgresql
176
7
We do not allow partitions or inheritance child tables to have row-level triggers with transition tables, because an operation on the whole inheritance tree would need to maintain a separate transition table for each such child table. But that problem does not apply for statement-level triggers, because only the pare...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
f5c77254-3dee-54e5-a316-272e7e05c02b
changelog
postgresql
postgresql
176
8
* Allow resetting unknown custom parameters with reserved prefixes (Nathan Bossart) [§](https://postgr.es/c/39ff05636) Previously, if a parameter setting had been stored using `ALTER DATABASE/ROLE/SYSTEM`, the stored setting could not be removed if the parameter was unknown but had a reserved prefix. This case could...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
a07d7fae-79f0-5df8-be62-07aebfd165f5
changelog
postgresql
postgresql
176
9
When choosing an auto-generated name for an index, avoid conflicting with not-yet-committed `pg_class` rows as well as fully-valid ones. This avoids possibly choosing the same name as some concurrent `CREATE INDEX` did, when that command is still in process of filling its index, or is done but is part of a not-yet-co...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
d82bbc71-8297-5de2-8cef-282816d83926
changelog
postgresql
postgresql
176
10
* Fix processing of character classes within `SIMILAR TO` regular expressions (Laurenz Albe) [§](https://postgr.es/c/e3ffc3e91) [§](https://postgr.es/c/a3c6d92f3) The code that translates `SIMILAR TO` pattern matching expressions to POSIX-style regular expressions did not consider that square brackets can be nested....
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
1e948a68-0d97-510c-a5f2-d76f40cca374
changelog
postgresql
postgresql
176
11
With very large `shared_buffers` settings, it was possible for the checkpointer to attempt to allocate more than 1GB for fsync requests, leading to failure and an infinite loop. Clamp the queue size to prevent this scenario. * Avoid infinite wait in logical decoding when reading a partially-written WAL record (Vignes...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
d9619be2-c15f-557b-aade-4be5ab2403fc
changelog
postgresql
postgresql
176
12
* Fix inconsistent quoting of role names in ACL strings (Tom Lane) [§](https://postgr.es/c/50959f96e) The previous quoting rule was locale-sensitive, which could lead to portability problems when transferring `aclitem` values across installations. (pg\_dump does not do that, but other tools might.) To ensure consist...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
91c7b1ab-f147-5c61-8111-50942a9864fc
changelog
postgresql
postgresql
176
13
* Avoid a rare scenario where a btree index scan could mark the wrong index entries as dead (Peter Geoghegan) [§](https://postgr.es/c/40aa5ddea) * Avoid re-distributing cache invalidation messages from other transactions during logical replication (vignesh C) [§](https://postgr.es/c/45c357e0e) Our previous round of ...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
c59d81fa-9e4a-55c8-88e8-2d8f5cd30b6b
changelog
postgresql
postgresql
176
14
The postmaster process would report an error (and then stop) if `sync_replication_slots` was set to `true` while `wal_level` was less than `logical`. The desired behavior is just that slot synchronization should be disabled, so reduce this error message's level to avoid postmaster shutdown. * Avoid premature removal ...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
c20d9b51-3505-54c7-8685-3039d4b67f05
changelog
postgresql
postgresql
176
15
In some cases a replication client could acknowledge an LSN that's past what it has stored persistently, and then perhaps send an older LSN after a restart. We consider this not-a-bug so long as the client did not have anything it needed to do for the WAL between the two points. However, we should not re-send that WA...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
933b7833-fb8c-5995-b1d8-5c7c6fb9e95d
changelog
postgresql
postgresql
176
16
* Allow waiting for a transaction on a standby server to be interrupted (Kevin K Biju) [§](https://postgr.es/c/24c5ad5be) Creation of a replication slot on a standby server may require waiting for some active transaction(s) to finish on the primary and then be replayed on the standby. Since that could be an indefini...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
8e5d1ed8-01a8-5831-80cb-de0fa97f4d4a
changelog
postgresql
postgresql
176
17
* Fix session-lifespan memory leaks in `XMLSERIALIZE(... INDENT)` (Dmitry Kovalenko, Tom Lane) [§](https://postgr.es/c/95cf1a181) [§](https://postgr.es/c/20bae0690) * Fix possible crash after out-of-memory when allocating large chunks with the “bump” allocator (Tom Lane) [§](https://postgr.es/c/a05cf22e0) * Fix some pl...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
b15ffc10-077f-5ff2-af31-ce1cce5e0b34
changelog
postgresql
postgresql
176
18
* Fix assertion failure in `XMLTABLE` parsing (Richard Guo) [§](https://postgr.es/c/2f48b4f07) * Restore the ability to run PL/pgSQL expressions in parallel (Dipesh Dhameliya) [§](https://postgr.es/c/a553a2289) PL/pgSQL's notion of an “expression” is very broad, encompassing any SQL `SELECT` query that returns a sin...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
073b720e-ec13-5355-8759-bd23b236ceb4
changelog
postgresql
postgresql
176
19
* Fix libpq's `PQcancelCreate()` function for the case where the server's address was specified using `hostaddr` (Sergei Kornilov) [§](https://postgr.es/c/445bd37b1) libpq would crash if the resulting cancel object was actually used. * Fix libpq's `PQport()` function to never return NULL unless the passed connection...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
81c9e839-b38c-593d-96e5-a8d7c00e11bc
changelog
postgresql
postgresql
176
20
Larger authentication packets are needed for Active Directory users who belong to many AD groups. This limitation manifested in connection failures with unintelligible error messages, typically “GSSAPI context establishment error: The routine must be called again to complete its function: Unknown error”. * Fix timing...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
c9391a26-26ea-5f79-a969-21faf816ca03
changelog
postgresql
postgresql
176
21
The same completions were offered for both `COPY FROM` and `COPY TO`, although some options are only valid for one case or the other. Distinguish these cases to provide more accurate suggestions. * Avoid assertion failure in pgbench when multiple pipeline sync messages are received (Fujii Masao) [§](https://postgr.es...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
82edfa86-4fb7-5d5b-a5d2-a556e7ea478c
changelog
postgresql
postgresql
176
22
* Ensure stable sort ordering in pg\_dump for all types of database objects (Noah Misch, Andreas Karlsson) [§](https://postgr.es/c/1ca1889ea) [§](https://postgr.es/c/5dd4957b2) [§](https://postgr.es/c/28e7252e4) pg\_dump sorts objects by their logical names before performing dependency-driven reordering. This sort d...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
f00b567c-28ee-57ca-99f8-a118de01d383
changelog
postgresql
postgresql
176
23
Treat keywords as extending to the next whitespace, rather than stopping at the first non-alphanumeric character as before. This makes no difference for valid keywords, but it allows some error cases to be recognized properly. For example, `table-data` will now be rejected, whereas previously it was misinterpreted as...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
62aca96d-7c54-56d9-8eaa-b96c4d38b45e
changelog
postgresql
postgresql
176
24
* Don't require that the target installation have `max_slot_wal_keep_size` set to its default during pg\_upgrade (Dilip Kumar) [§](https://postgr.es/c/24f6c1bd4) * Avoid assertion failure if `track_commit_timestamp` is enabled during initdb (Hayato Kuroda, Andy Fan) [§](https://postgr.es/c/ae20c105f) * Fix pg\_waldump ...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
5e11882b-c2c5-5612-af0c-2ec921d738dd
changelog
postgresql
postgresql
176
25
Autoprewarm failed with a memory allocation error if `shared_buffers` was larger than about 50 million buffers (400GB). * Prevent assertion failure in `contrib/pg_prewarm` (Masahiro Ikeda) [§](https://postgr.es/c/b64c585fd) Applying `pg_prewarm()` to a relation lacking storage (such as a view) caused an assertion ...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
6813c8b7-eeb8-5b3c-88dc-1c3e2f196a6f
changelog
postgresql
postgresql
176
26
* Ensure that directories listed in configure's `--with-includes` and `--with-libraries` options are searched before system-supplied directories (Tom Lane) [§](https://postgr.es/c/a644f5fc6) A common reason for using these options is to allow a user-built version of some library to override the system-supplied versi...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
4a94cf84-2823-5b73-b9a9-2fcccb1f9dd9
changelog
postgresql
postgresql
176
27
* Fix build failure with `--with-pam` option on Solaris-based platforms (Tom Lane) [§](https://postgr.es/c/635a85627) Solaris is inconsistent with other Unix platforms about the API for PAM authentication. This manifested as an “inconsistent pointer” compiler warning, which we never did anything about. But as of GCC...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
fe0382f2-dc2b-5776-b664-b4618b7e1560
changelog
postgresql
postgresql
176
28
* Avoid deprecation warnings when building with libxml2 2.14 and later (Michael Paquier) [§](https://postgr.es/c/c911e7802) * Avoid problems when compiling `pg_locale.h` under C++ (John Naylor) [§](https://postgr.es/c/21ae8fc5f) PostgreSQL header files generally need to be wrapped in `extern "C" { ... }` in order to...
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
8eff0b93-5c17-5928-86cc-1006f3c77f7e
changelog
postgresql
postgresql
176
29
[Next](/docs/release/17.7/)
large_dataset/raw/changelog/postgresql_releases/postgresql_176.md
116abc08-c02b-5fe0-b623-33313ff0b670
changelog
postgresql
postgresql
177
0
# Release Notes Source: https://www.postgresql.org/docs/release/17.7/ Version: 17.7 ## PostgreSQL 17.7 | E.1. Release 17.7 | | | | | | --- | --- | --- | --- | --- | | [Prev](release.html "Appendix E. Release Notes") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Pos...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
63c8c4a1-c82f-5fee-b109-87ba381043a4
changelog
postgresql
postgresql
177
1
### E.1.2. Changes [#](#RELEASE-17-7-CHANGES) * Check for `CREATE` privileges on the schema in `CREATE STATISTICS` (Jelte Fennema-Nio) [§](https://postgr.es/c/e2fb3dfa8) This omission allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts. The PostgreSQL Proje...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
85fc12f6-5b2a-59c8-9460-277b647ec75d
changelog
postgresql
postgresql
177
2
* Prevent “unrecognized node type” errors when a SQL/JSON function such as `JSON_VALUE` has a `DEFAULT` clause containing a `COLLATE` expression (Jian He) [§](https://postgr.es/c/09f86a42f) [§](https://postgr.es/c/1e6dfdaa0) * Correctly treat JSON constructor expressions, such as `JSON_OBJECT()`, as non-strict (Tender ...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
ba36c72c-7fc6-5063-b50d-4dcec074c3ac
changelog
postgresql
postgresql
177
3
The previous fix for translating `SIMILAR TO` pattern matching expressions to POSIX-style regular expressions broke a corner case that formerly worked: if there is an escape character right after the opening bracket and then a closing bracket right after the escape sequence (for example `[\w]`), the closing bracket w...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
9a085a60-e27c-536b-8aa7-9bf1bd57782f
changelog
postgresql
postgresql
177
4
There was a hazard only when the last live partition was concurrently dropped. * Remove faulty assertion in btree index cleanup (Peter Geoghegan) [§](https://postgr.es/c/ae15cebc2) * Fix possible infinite loop in GIN index scans with multiple scan conditions (Tom Lane) [§](https://postgr.es/c/456c6a05d) GIN can ha...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
af428fbc-352d-50ad-9fef-709d2731bbe2
changelog
postgresql
postgresql
177
5
* Ensure that BRIN autosummarization provides a snapshot for index expressions that need one (Álvaro Herrera) [§](https://postgr.es/c/f4b68b033) [§](https://postgr.es/c/3b5007347) Previously, autosummarization would fail for such indexes, and then leave placeholder index tuples behind, causing the index to bloat ove...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
c9cb5d00-c503-5020-aa69-8d7d7fdb055e
changelog
postgresql
postgresql
177
6
When not using JIT, the equivalent code does sign-extension not zero-extension, leading to a different Datum representation of small integer data types. This inconsistency was masked in most cases, but it is known to lead to “could not find memoization table entry” errors when using Memoize plan nodes, and there migh...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
745c5100-ac53-5f42-9af2-56ea9a9a7ab4
changelog
postgresql
postgresql
177
7
* Fix EvalPlanQual handling of foreign or custom joins that do not have an alternative local-join plan prepared for EPQ (Masahiko Sawada, Etsuro Fujita) [§](https://postgr.es/c/2bb84ea7e) In such cases the foreign or custom access method should be invoked normally, but that did not happen, typically leading to a cra...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
7c478a74-6b94-5814-8bc3-49c9caa1389a
changelog
postgresql
postgresql
177
8
`ALTER TABLE DETACH PARTITION CONCURRENTLY` was written to add a copy of the partitioning constraint to the now-detached partition. This was misguided, partially because non-concurrent `DETACH` doesn't do that, but mostly because in the case of hash partitioning the constraint expression contains references to the pa...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
0c29d086-4661-592b-8a99-5dabddc77582
changelog
postgresql
postgresql
177
9
Previously, incorrect behavior or an obscure error message resulted from attempting to reference such a column, since generated columns have not yet been computed at the point where `WHERE` filtering is done. * Avoid potential use-after-free in parallel vacuum (Kevin Oommen Anish) [§](https://postgr.es/c/3549ffb6a) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
5b7428f5-bf29-5cfb-8617-91f775cc4336
changelog
postgresql
postgresql
177
10
If a dropped column default, trigger, or RLS policy belongs to a temporary table, report it with `is_temporary` true. * Fix memory leakage in hashed subplans (Haiyang Li) [§](https://postgr.es/c/862980f92) Any memory consumed by the hash functions used for hashing tuples constituted a query-lifespan memory leak. O...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
b10f45f1-cc9c-5bb3-aa20-7008638a4f52
changelog
postgresql
postgresql
177
11
Previously, an out-of-memory failure partway through creating a new hash table entry left a broken entry behind, potentially causing errors in other sessions later. * Fix concurrent update issue in `MERGE` (Yugo Nagata) [§](https://postgr.es/c/6195afbe5) When executing a `MERGE UPDATE` action, if there is more tha...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
83d07dc6-9189-5291-8935-ea5d94948295
changelog
postgresql
postgresql
177
12
If `MERGE` may require update or delete actions, and the target table publishes updates or deletes, insist that it have a `REPLICA IDENTITY` defined. Failing to require this can silently break replication. Likewise, `INSERT` with an `UPDATE` option must require `REPLICA IDENTITY` if the target table publishes either ...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
e5bf55ff-a562-5669-a082-c7ff2f91217a
changelog
postgresql
postgresql
177
13
* Remove the unfinished slot state file after failing to write a replication slot's state to disk (Michael Paquier) [§](https://postgr.es/c/42348839d) Previously, a failure such as out-of-disk-space resulted in leaving a temporary `state.tmp` file behind. That's problematic because it would block all subsequent atte...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
d6293ee3-7cd1-51b3-9e00-edb479dd423c
changelog
postgresql
postgresql
177
14
* Avoid failures in logical replication due to chance collisions of file numbers between regular and temporary tables (Vignesh C) [§](https://postgr.es/c/dcdc95cb4) This low-probability problem manifested as transient errors like “unexpected duplicate for tablespace *`X`*, relfilenode *`Y`*”. `contrib/autoprewarm` w...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
9f45d8a4-e2f2-528a-93ba-549342c2780e
changelog
postgresql
postgresql
177
15
* Avoid assertion failure when trying to release a replication slot in single-user mode (Hayato Kuroda) [§](https://postgr.es/c/07a302387) * Fix incorrect printing of messages about failures in checking whether the user has Windows administrator privilege (Bryan Green) [§](https://postgr.es/c/4c53519e1) This code wo...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
02a05e41-d63d-534e-bc39-69ef0e1be575
changelog
postgresql
postgresql
177
16
* Fix false memory-context-checking warnings in debug builds on 64-bit Windows (David Rowley) [§](https://postgr.es/c/bd6f986c9) * Correctly handle `GROUP BY DISTINCT` in PL/pgSQL assignment statements (Tom Lane) [§](https://postgr.es/c/3fc9aa5b0) The parser failed to record the `DISTINCT` option in this context, so...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
49027255-7aeb-5f69-9b04-dd5362b57a5b
changelog
postgresql
postgresql
177
17
The code for encrypting/decrypting transmitted data using GSSAPI did not correctly recognize error conditions on the connection socket, since Windows reports those differently than other platforms. This led to failure to make such connections on Windows. * Fix dumping of non-inherited not-null constraints on inherite...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
fb4b944c-5558-543e-a0e8-498660d2ea96
changelog
postgresql
postgresql
177
18
* In pg\_dump, label comments for separately-dumped domain constraints with the proper dependency (Noah Misch) [§](https://postgr.es/c/e127764b6) This error could lead to parallel pg\_restore attempting to create the comment before the constraint itself has been restored. * In pg\_restore, skip comments and security...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
231ee189-989a-5789-86e0-dcbc974dd627
changelog
postgresql
postgresql
177
19
Error checking was missing or incorrect in several places, and there were also portability issues that would manifest on big-endian hardware. These problems had been missed because this code is only used to read compressed TOC files within directory-format dumps. pg\_dump never produces such a dump; the case can be r...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md
6fa76a8c-3eee-55cb-bd1f-2b7b9c139162
changelog
postgresql
postgresql
177
20
* Fix per-file memory leakage in pg\_combinebackup (Tom Lane) [§](https://postgr.es/c/4eb6992af) * Ensure that `contrib/pg_buffercache` functions can be canceled (Satyanarayana Narlapuram, Yuhang Qiu) [§](https://postgr.es/c/b6090ed96) Some code paths were capable of running for a long time without checking for inte...
large_dataset/raw/changelog/postgresql_releases/postgresql_177.md