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 |
|---|---|---|---|---|---|---|---|
5192819f-c568-5a33-bdc4-d4496b7b2ae7 | changelog | postgresql | postgresql | 1316 | 7 | It's possible for a transaction to execute an operation that queues a deferred `AFTER` trigger for later execution, and then to drop the trigger before that happens. Formerly this led to weird errors such as “could not find trigger *`NNNN`*”. It seems better to silently do nothing if the trigger no longer exists at t... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
556f2194-012f-5f70-8fb8-ef2e56a37a61 | changelog | postgresql | postgresql | 1316 | 8 | If a query using `ON CONFLICT` accesses the target table through an updatable view, it could fail with “there is no unique or exclusion constraint matching the ON CONFLICT specification”, even though a matching index does exist.
* Refuse to modify a temporary table of another session with `ALTER TABLE` (Tom Lane) [§]... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
cf6d48ca-2155-5550-8584-bd3cd7799c21 | changelog | postgresql | postgresql | 1316 | 9 | * Avoid crashing when a JIT-inlined backend function throws an error (Tom Lane) [§](https://postgr.es/c/86fac88ee)
The error state can include pointers into the dynamically loaded module holding the JIT-compiled code (for error location strings). In some code paths the module could get unloaded before the error repo... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
418b388c-5737-5993-8f12-cd37471aef8d | changelog | postgresql | postgresql | 1316 | 10 | * Fix handling of subtransactions of prepared transactions when starting a hot standby server (Heikki Linnakangas) [§](https://postgr.es/c/e9c8747ee)
When starting a standby's replay at a shutdown checkpoint WAL record, transactions that had been prepared but not yet committed on the primary are correctly understood... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
daff1eed-6628-5617-8ffd-89343c88782b | changelog | postgresql | postgresql | 1316 | 11 | The processing functions for these events could switch the current memory context to TopMemoryContext, resulting in session-lifespan leakage of any data allocated before the incorrect setting gets replaced. There were observable leaks associated with (at least) encoding conversion of incoming queries and parameters a... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
6d09fb6f-9c80-5d1c-99e5-a75b28dfffda | changelog | postgresql | postgresql | 1316 | 12 | * Disable creation of stateful TLS session tickets by OpenSSL (Daniel Gustafsson) [§](https://postgr.es/c/1f476bc75) [§](https://postgr.es/c/40e8ea949) [§](https://postgr.es/c/634710dfb)
This avoids possible failures with clients that think receipt of a session ticket means that TLS session resumption is supported.
... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
88fd1ab7-0dea-5e45-8e7d-d027d580e630 | changelog | postgresql | postgresql | 1316 | 13 | If we recurse to a new call of the same function that passes a different column definition list (`AS` clause), it would fail because the inner call would overwrite the outer call's idea of what rowtype to return.
* Don't corrupt PL/Python's `TD` dictionary during a recursive trigger call (Tom Lane) [§](https://postgr... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
c383c436-8bff-5686-8368-e25b7c01361b | changelog | postgresql | postgresql | 1316 | 14 | * Ensure that `pg_restore` `-l` reports dependent TOC entries correctly (Tom Lane) [§](https://postgr.es/c/b99dc6694)
If `-l` was specified together with selective-restore options such as `-n` or `-N`, dependent TOC entries such as comments would be omitted from the listing, even when an actual restore would have se... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
61aa619e-1bdf-529d-a899-0aa529edd13f | changelog | postgresql | postgresql | 1316 | 15 | | [Prev](release-13-17.html "E.7. Release 13.17") | [Up](release.html "Appendix E. Release Notes") | [Next](release-13-15.html "E.9. Release 13.15") |
| E.7. Release 13.17 | [Home](index.html "PostgreSQL 13.23 Documentation") | E.9. Release 13.15 |
[Previous](/docs/release/13.15/)
[Return to the Release Notes Archive... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
cfbbd279-6b3e-573f-9b18-0103d6a94fde | changelog | postgresql | postgresql | 1317 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.17/
Version: 13.17
## PostgreSQL 13.17
| E.7. Release 13.17 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-18.html "E.6. Release 13.18") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
09bbfe10-103c-564f-968d-5e9ec2e07367 | changelog | postgresql | postgresql | 1317 | 1 | However, if you have ever detached a partition from a partitioned table that has a foreign-key reference to another partitioned table, and not dropped the former partition, then you may have catalog and/or data corruption to repair, as detailed in the fifth changelog entry below.
Also, if you are upgrading from a vers... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
2f4d1403-f95c-542b-9488-591e5ff76c43 | changelog | postgresql | postgresql | 1317 | 2 | The PostgreSQL Project thanks Wolfgang Walther for reporting this problem. (CVE-2024-10976)
* Make libpq discard error messages received during SSL or GSS protocol negotiation (Jacob Champion) [§](https://postgr.es/c/7b49707b7)
An error message received before encryption negotiation is completed might have been in... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
6b833884-1228-526f-b370-5fa32b344b6a | changelog | postgresql | postgresql | 1317 | 3 | The SQL standard mandates that `SET SESSION AUTHORIZATION` have a side-effect of doing `SET ROLE NONE`. Our implementation of that was flawed, creating more interaction between the two settings than intended. Notably, rolling back a transaction that had done `SET SESSION AUTHORIZATION` would revert `ROLE` to `NONE` e... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
1e0baa7a-78f5-5119-830e-3971c67f99a5 | changelog | postgresql | postgresql | 1317 | 4 | The ability to manipulate process environment variables such as `PATH` gives an attacker opportunities to execute arbitrary code. Therefore, “trusted” PLs must not offer the ability to do that. To fix `plperl`, replace `%ENV` with a tied hash that rejects any modification attempt with a warning. Untrusted `plperlu` r... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
4e29a64a-24de-5a99-9847-b289af6be83c | changelog | postgresql | postgresql | 1317 | 5 | If the referenced table is partitioned, then different catalog entries are needed for a referencing table that is stand-alone versus one that is a partition. `ATTACH/DETACH PARTITION` commands failed to perform this conversion correctly. In particular, after `DETACH` the now stand-alone table would be missing foreign... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
96af6b85-a068-58a8-9693-2be2cc44e15c | changelog | postgresql | postgresql | 1317 | 6 | SELECT conrelid::pg_catalog.regclass AS "constrained table",
conname AS constraint,
confrelid::pg_catalog.regclass AS "references",
pg_catalog.format('ALTER TABLE %s DROP CONSTRAINT %I;',
conrelid::pg_catalog.regclass, conname) AS "drop",
pg_catalog.forma... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
08dfae9f-7ef6-5e6d-8911-41a82eccf379 | changelog | postgresql | postgresql | 1317 | 7 | (SELECT count(*) FROM pg_catalog.pg_partition_tree(confrelid)
WHERE level = 1)
ELSE 0 END);
```
Since it is possible that one or more of the `ADD CONSTRAINT` steps will fail, you should save the query's output in a file and then attempt to perform each step.
* Disallow ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
51e129d1-cfdb-53a6-8155-ed90b96e044e | changelog | postgresql | postgresql | 1317 | 8 | * Fix possible “could not find pathkey item to sort” error when the output of a `UNION ALL` member query needs to be sorted, and the sort column is an expression (Andrei Lepikhov, Tom Lane) [§](https://postgr.es/c/76de4b182)
* Allow cancellation of the second stage of index build for large hash indexes (Pavel Borisov) ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
2019e37a-d697-540a-a92e-cf4ba5655728 | changelog | postgresql | postgresql | 1317 | 9 | After repartitioning the inner side of a hash join because one partition has accumulated too many tuples, we check to see if all the partition's tuples went into the same child partition, which suggests that they all have the same hash value and further repartitioning cannot improve matters. This check malfunctioned ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
9cefa81a-af6d-5a15-a7b8-1c97aeabddec | changelog | postgresql | postgresql | 1317 | 10 | A concurrent `PREPARE TRANSACTION` could cause `COMMIT PREPARED` to not remove the on-disk two-phase state file for the completed transaction. There was no immediate ill effect, but a subsequent crash-and-recovery could fail with “could not access status of transaction”, requiring manual removal of the orphaned file ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
bd48e168-b8d2-5838-83c1-dd6f9f719018 | changelog | postgresql | postgresql | 1317 | 11 | Normal row updates write a new version of the row to preserve rollback-ability of the transaction. However, certain system catalog updates are intentionally non-transactional and are done with an in-place update of the row. These patches fix race conditions that could cause the effects of an in-place update to be los... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
c0a0c471-9bb3-5441-b8ef-620c6493973d | changelog | postgresql | postgresql | 1317 | 12 | This situation cannot arise normally, but it can be reached with test scenarios such as using a SQL-language function as B-tree support (which would be far too slow for production usage). If it did occur it would result in an indefinite wait.
* Guard against stack overflow in libxml2 with too-deeply-nested XML input ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
99c4cf20-d1b5-5ef7-ad65-6b5a10d474d9 | changelog | postgresql | postgresql | 1317 | 13 | This case arose while trying to print references to fields of a RECORD-type output of a subquery when the subquery has been optimized out of the plan altogether (which is possible at least in the case that it has a constant-false `WHERE` condition). Nothing remains in the plan to identify the original field names, so... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
9c26c189-634d-5822-b830-0cc2969ed6b4 | changelog | postgresql | postgresql | 1317 | 14 | It is possible for user-defined code that inspects this view to be called while a new cursor is being set up, and if that happens a null pointer dereference would ensue. Avoid the problem by defining the view to exclude incompletely-set-up cursors.
* Reduce memory consumption of logical decoding (Masahiko Sawada) [§]... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
0331fa18-711a-54ee-a6fc-0d28fb5cd60d | changelog | postgresql | postgresql | 1317 | 15 | * Avoid “wrong tuple length” failure when dropping a database with many ACL (permission) entries (Ayush Tiwari) [§](https://postgr.es/c/33c615f76) [§](https://postgr.es/c/4e7531fda)
* Allow adjusting the `session_authorization` and `role` settings in parallel workers (Tom Lane) [§](https://postgr.es/c/adf9808fa)
Our... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
7f598a21-c375-516d-8a32-6bc9ea824f40 | changelog | postgresql | postgresql | 1317 | 16 | * Parse libpq's `keepalives` connection option in the same way as other integer-valued options (Yuto Sasaki) [§](https://postgr.es/c/2120eda94)
The coding used here rejected trailing whitespace in the option value, unlike other cases. This turns out to be problematic in ecpg's usage, for example.
* Avoid use of `pns... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
5783b168-93ee-5a83-b088-629d2f481d7b | changelog | postgresql | postgresql | 1317 | 17 | This was the intention to begin with, but a coding error caused the source history to always print as empty.
* Fix misbehavior with junction points on Windows, particularly in pg\_rewind (Alexandra Wang) [§](https://postgr.es/c/fa56aa23f) [§](https://postgr.es/c/bb509a464) [§](https://postgr.es/c/ee219102d) [§](https... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
efd23bb0-9efc-5804-bc93-b98b622221ce | changelog | postgresql | postgresql | 1317 | 18 | * Avoid trying to reindex temporary tables and indexes in vacuumdb and in parallel reindexdb (VaibhaveS, Michael Paquier, Fujii Masao, Nathan Bossart) [§](https://postgr.es/c/9db4598c9) [§](https://postgr.es/c/9410f7cbf) [§](https://postgr.es/c/d4ade0baf)
Reindexing other sessions' temporary tables cannot work, but ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
fed18f42-1614-532f-865e-3899fb3d060b | changelog | postgresql | postgresql | 1317 | 19 | When using JIT compilation on ARM platforms, the generated code could not support relocation distances exceeding 32 bits, allowing unlucky placement of generated code to cause server crashes on large-memory systems.
* Fix a few places that assumed that process start time (represented as a `time_t`) will fit into a `l... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
e74a313f-e8fe-51fb-9b8c-26acbb3e4755 | changelog | postgresql | postgresql | 1317 | 20 | This tzdata release changes the old System-V-compatibility zone names to duplicate the corresponding geographic zones; for example `PST8PDT` is now an alias for `America/Los_Angeles`. The main visible consequence is that for timestamps before the introduction of standardized time zones, the zone is considered to repr... | large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
21a4775b-bcff-5c2d-af94-c3dd0fa01f02 | changelog | postgresql | postgresql | 1317 | 21 | | E.6. Release 13.18 | [Home](index.html "PostgreSQL 13.23 Documentation") | E.8. Release 13.16 |
[Previous](/docs/release/13.16/)
[Return to the Release Notes Archive](/docs/release/)
[Next](/docs/release/13.18/)
| large_dataset/raw/changelog/postgresql_releases/postgresql_1317.md |
187db152-78d0-5c06-a198-a17b2affb551 | changelog | postgresql | postgresql | 1318 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.18/
Version: 13.18
## PostgreSQL 13.18
| E.6. Release 13.18 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-19.html "E.5. Release 13.19") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1318.md |
29842109-3177-5ffe-851e-5175cb78e0a5 | changelog | postgresql | postgresql | 1318 | 1 | ### E.6.2. Changes
* Restore functionality of `ALTER {ROLE|DATABASE} SET role` (Tom Lane, Noah Misch) [§](https://postgr.es/c/07c6e0f61)
The fix for CVE-2024-10978 accidentally caused settings for `role` to not be applied if they come from non-interactive sources, including previous `ALTER {ROLE|DATABASE}` commands... | large_dataset/raw/changelog/postgresql_releases/postgresql_1318.md |
6b926d36-e526-57f8-bb0a-400cbeab91ca | changelog | postgresql | postgresql | 1318 | 2 | * Count index scans in `contrib/bloom` indexes in the statistics views, such as the `pg_stat_user_indexes`.`idx_scan` counter (Masahiro Ikeda) [§](https://postgr.es/c/e493ea866)
* Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) [§](https://postgr.es/c/5411e8213)
Some fo... | large_dataset/raw/changelog/postgresql_releases/postgresql_1318.md |
13e5b8cb-34fb-5d47-90fa-2b66f4a20626 | changelog | postgresql | postgresql | 1319 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.19/
Version: 13.19
## PostgreSQL 13.19
| E.5. Release 13.19 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-20.html "E.4. Release 13.20") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
ad421f8f-21df-513c-b5a2-c0846dad18de | changelog | postgresql | postgresql | 1319 | 1 | ### E.5.1. Migration to Version 13.19
A dump/restore is not required for those running 13.X.
However, if you are upgrading from a version earlier than 13.17, see [Section E.7](release-13-17.html "E.7. Release 13.17").
### E.5.2. Changes
* Harden `PQescapeString` and allied functions against invalidly-encoded input ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
391b5253-fdec-5657-8ef2-66ec09850885 | changelog | postgresql | postgresql | 1319 | 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_1319.md |
37b53f2a-0bcb-56f2-b7ae-6b9c85bdbcc5 | changelog | postgresql | postgresql | 1319 | 3 | The PostgreSQL Project thanks Stephen Fewer for reporting this problem. (CVE-2025-1094)
* Exclude parallel workers from connection privilege checks and limits (Tom Lane) [§](https://postgr.es/c/70d067cec)
Do not check `datallowconn`, `rolcanlogin`, and `ACL_CONNECT` privileges when starting a parallel worker, inst... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
8dfbe024-ae23-5f22-8df7-2fc1bc29ecb3 | changelog | postgresql | postgresql | 1319 | 4 | * Keep `TransactionXmin` in sync with `MyProc->xmin` (Heikki Linnakangas) [§](https://postgr.es/c/9c1afd344)
This oversight could permit a process to try to access data that had already been vacuumed away. One known consequence is transient “could not access status of transaction” errors.
* Fix race condition that c... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
38e8625e-2f28-58f8-af1c-432959b45000 | changelog | postgresql | postgresql | 1319 | 5 | 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_1319.md |
4ca0e920-a1c0-5438-a85b-1c735e1c9e39 | changelog | postgresql | postgresql | 1319 | 6 | The previous coding was intended to assure that the operation could not accidentally overwrite an existing file. However a failure could leave two links to the same file in existence, confusing subsequent operations and creating a risk of data corruption. In practice we do not use this functionality in places where t... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
536b8972-defb-5d01-90af-f22c20f6ff79 | changelog | postgresql | postgresql | 1319 | 7 | Also, prevent memory bloat caused by making too many copies of the `tg_updatedcols` bitmap.
* Fix mis-processing of `to_timestamp`'s `FFn` format codes (Tom Lane) [§](https://postgr.es/c/f2eba400b)
An integer format code immediately preceding `FFn` would consume all available digits, leaving none for `FFn`.
* When... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
bd6bacf4-faf4-587a-bf37-856df4874486 | changelog | postgresql | postgresql | 1319 | 8 | Previously we ignored collations when deciding if it's safe to merge `UNION` steps into a single N-way `UNION` operation. This was arguably valid before the introduction of nondeterministic collations, but it's not anymore, since the collation in use can affect the definition of uniqueness.
* Fix missed expression pr... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
1164e708-bf13-5a00-a7c4-0556d0adb4f0 | changelog | postgresql | postgresql | 1319 | 9 | * Prevent streaming standby servers from looping infinitely when reading a WAL record that crosses pages (Kyotaro Horiguchi, Alexander Kukushkin) [§](https://postgr.es/c/0f0431e91)
This would happen when the record's continuation is on a page that needs to be read from a different WAL source.
* Fix unintended promot... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
129dc070-8924-5ae1-a873-97129112285d | changelog | postgresql | postgresql | 1319 | 10 | 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_1319.md |
b1aaf1c1-b742-5abf-bb68-0fa7e3a80cb6 | changelog | postgresql | postgresql | 1319 | 11 | * Avoid integer overflow while testing `wal_skip_threshold` condition (Tom Lane) [§](https://postgr.es/c/49a38238e)
A transaction that created a very large relation could mistakenly decide to ensure durability by copying the relation into WAL instead of fsync'ing it, thereby negating the point of `wal_skip_threshold... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
158b1e9c-40b3-5cd4-8308-914c1f5c302e | changelog | postgresql | postgresql | 1319 | 12 | 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 clang compilers that target armv8-a but differ on the use of outline atomics by default.
* Fix handling of Windows junction points that are no... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
a4e17da0-acca-551c-a932-8838733fd986 | changelog | postgresql | postgresql | 1319 | 13 | * Avoid rare assertion failure during relation truncation (Heikki Linnakangas) [§](https://postgr.es/c/a722252ef)
* In `NULLIF()`, avoid passing a read-write expanded object pointer to the data type's equality function (Tom Lane) [§](https://postgr.es/c/48a6cd1ae)
The equality function could modify or delete the obj... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
77ab5131-a550-56b1-a351-6165bed5ed7f | changelog | postgresql | postgresql | 1319 | 14 | * In the ecpg preprocessor, fix possible misprocessing of cursors that reference out-of-scope variables (Tom Lane) [§](https://postgr.es/c/e359cbb84)
* In ecpg, fix compile-time warnings about unsupported use of `COPY ... FROM STDIN` (Ryo Kanbayashi) [§](https://postgr.es/c/226c9048d)
Previously, the intended warnin... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
acc11646-ac2c-5a0e-ae44-6a518f371f8c | changelog | postgresql | postgresql | 1319 | 15 | * Fix misexecution of some nested `\if` constructs in pgbench (Michail Nikolaev) [§](https://postgr.es/c/ec0dc2c59)
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_1319.md |
548f9c32-e991-56f6-9816-26571ea24c25 | changelog | postgresql | postgresql | 1319 | 16 | * Fix pg\_basebackup to correctly handle `pg_wal.tar` files exceeding 2GB on Windows (Davinder Singh, Thomas Munro) [§](https://postgr.es/c/bd0564f61) [§](https://postgr.es/c/d02486cc8)
* Update configuration probes that determine the compiler switches needed to access ARM CRC instructions (Tom Lane) [§](https://postgr... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
aa4502cb-1dd5-57f4-ba36-06907b743358 | changelog | postgresql | postgresql | 1319 | 17 | * Update time zone data files to tzdata release 2025a for DST law changes in Paraguay, plus historical corrections for the Philippines (Tom Lane) [§](https://postgr.es/c/6397819c8)
---
| | | |
| --- | --- | --- |
| [Prev](release-13-20.html "E.4. Release 13.20") | [Up](release.html "Appendix E. Release Notes") | [... | large_dataset/raw/changelog/postgresql_releases/postgresql_1319.md |
4ac16243-eea0-5764-aa92-8404bd8807af | changelog | postgresql | postgresql | 132 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.2/
Version: 13.2
## PostgreSQL 13.2
| E.22. Release 13.2 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-3.html "E.21. Release 13.3") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
785f3155-4603-5d9f-89c6-98f680c2e70c | changelog | postgresql | postgresql | 132 | 1 | However, see the first changelog item below concerning a possible need to update stored views. Also see the third and fourth changelog items, which describe cases in which reindexing indexes after the upgrade may be advisable.
### E.22.2. Changes
* Fix failure to check per-column `SELECT` privileges in some join quer... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
2aeac276-7cc4-59d4-9dcc-ffb3a13a9c75 | changelog | postgresql | postgresql | 132 | 2 | A stored view that is subject to this problem will have incomplete column-usage bitmaps, and thus permissions will still not be enforced properly on the view after updating. In installations that depend on column-level permissions for security, it is recommended to `CREATE OR REPLACE` all user-defined views to cause ... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
76332bd1-6f42-5730-818a-cdb858f023f4 | changelog | postgresql | postgresql | 132 | 3 | * Fix incorrect detection of concurrent page splits while inserting into a GiST index (Heikki Linnakangas) [§](https://postgr.es/c/b8403d140)
Concurrent insertions could lead to a corrupt index with entries placed in the wrong pages. It's recommended to reindex any GiST index that's been subject to concurrent insert... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
f7668ad3-9f84-5d91-ba37-ea009b817316 | changelog | postgresql | postgresql | 132 | 4 | At the point where `CREATE INDEX CONCURRENTLY` waits for all concurrent transactions to complete so that it can see rows they inserted, it must also wait for all prepared transactions to complete, for the same reason. Its failure to do so meant that rows inserted by prepared transactions might be omitted from the new... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
192ef752-64c7-5284-b3d3-baedfaddc5ff | changelog | postgresql | postgresql | 132 | 5 | It was possible for aggregation grouping values to be replaced by nulls when the tuples are read back in, leading to wrong answers.
* Fix edge case in incremental sort (Neil Chen) [§](https://postgr.es/c/10fcb83da)
If the last tuple of a sort batch chanced to be the first tuple of the next group of already-sorted ... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
dc335d4e-3f3e-5ef0-9fb0-592055627aec | changelog | postgresql | postgresql | 132 | 6 | A `BEFORE UPDATE FOR EACH ROW` trigger that modified the row in any way prevented `UPDATE` from moving the row to another partition when needed; but there is no longer any reason for this restriction.
* Fix partition pruning logic to handle asymmetric hash partition sets (Tom Lane) [§](https://postgr.es/c/7f1921cb9)
... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
05cddaf7-59b9-5ec0-9488-8787e01566f0 | changelog | postgresql | postgresql | 132 | 7 | * Fix crash when `WHERE CURRENT OF` is applied to a cursor whose plan contains a custom scan node (David Geier) [§](https://postgr.es/c/f0f53195b)
* Fix planner's mishandling of placeholders whose evaluation should be delayed by an outer join (Tom Lane) [§](https://postgr.es/c/73fc2e5ba)
This occurs in particular wi... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
2dac6835-7d8b-5dfe-9830-c3e5eb1dda18 | changelog | postgresql | postgresql | 132 | 8 | * Consider unsorted subpaths when planning a Gather Merge operation (James Coleman) [§](https://postgr.es/c/ea190ed14)
It's possible to use such a path by adding an explicit Sort node, and in some cases that gives rise to a superior plan.
* Do not consider `ORDER BY` expressions involving parallel-restricted functio... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
77d79088-cd55-55da-9d9e-e19ab65bba3e | changelog | postgresql | postgresql | 132 | 9 | * Fix `ALTER DEFAULT PRIVILEGES` to handle duplicated arguments safely (Michael Paquier) [§](https://postgr.es/c/31e0f9d76)
Duplicate role or schema names within the same command could lead to “tuple already updated by self” errors or unique-constraint violations.
* Flush ACL-related caches when `pg_authid` changes ... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
fe1f2706-bd5a-50af-ab46-6a4424255192 | changelog | postgresql | postgresql | 132 | 10 | * Prevent misprocessing of ambiguous `CREATE TABLE LIKE` clauses (Tom Lane) [§](https://postgr.es/c/dffc82a5b)
A `LIKE` clause is re-examined after initial creation of the new table, to handle importation of indexes and such. It was possible for this re-examination to find a different table of the same name, causing... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
9e6bc306-e2f3-59cf-82e1-76aa55cb651f | changelog | postgresql | postgresql | 132 | 11 | * Ensure that disk space allocated for a dropped relation is released promptly at commit (Thomas Munro) [§](https://postgr.es/c/fd3a75d82)
Previously, if the dropped relation spanned multiple 1GB segments, only the first segment was truncated immediately. Other segments were simply unlinked, which doesn't authorize ... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
77607521-f906-5d15-ab73-ce022a47441e | changelog | postgresql | postgresql | 132 | 12 | A backslash followed by a multibyte character was not handled correctly. In some client character encodings, this could lead to misinterpreting part of a multibyte character as a field separator or end-of-copy-data marker.
* Avoid preallocating executor hash tables in `EXPLAIN` without `ANALYZE` (Alexey Bashtanov) [§... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
56efc284-07c9-51ca-9e55-a89614f180dd | changelog | postgresql | postgresql | 132 | 13 | * Fix use of uninitialized value while parsing a `*` quantifier in a BRE-mode regular expression (Tom Lane) [§](https://postgr.es/c/49c928c0c)
This error could cause the quantifier to act non-greedy, that is behave like a `*?` quantifier would do in full regular expressions.
* Fix numeric `power()` for the case wher... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
213a6b1d-0064-54f5-9675-3da2837a3061 | changelog | postgresql | postgresql | 132 | 14 | * Prevent possible data loss from incorrect detection of the wraparound point of an SLRU log (Noah Misch) [§](https://postgr.es/c/6eb3fc7fc)
The wraparound point typically falls in the middle of a page, which must be rounded off to a page boundary, and that was not done correctly. No issue could arise unless an inst... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
16cd8618-6ee2-50c5-8466-6e4ae891e31c | changelog | postgresql | postgresql | 132 | 15 | * Fix memory leak in walsender processes while sending new snapshots for logical decoding (Amit Kapila) [§](https://postgr.es/c/0685c5c1b)
* Fix relation cache leak in walsender processes while sending row changes via the root of a partitioned relation during logical replication (Amit Langote, Mark Zhao) [§](https://po... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
d8a25483-a05c-5004-87cc-bbcd130a646f | changelog | postgresql | postgresql | 132 | 16 | The code failed to traverse the HOT chain and might thus compute a too-old XID horizon, which could lead to incorrect conflict processing in hot standby. The practical impact of this bug is limited; in most cases the correct XID horizon would be found anyway from nearby operations.
* Ensure that a nonempty value of `... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
e7b6079b-33fc-579c-8949-135fbb3afe8c | changelog | postgresql | postgresql | 132 | 17 | Remove pointless restriction that only GSS authentication can be used on a GSS-encrypted connection. Add GSS encryption information to connection-authorized log messages. Include GSS-related space when computing the required size of shared memory (this omission could have caused problems with very high `max_connectio... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
0ca4d361-2f7c-5e9c-b3bb-1eeb9d266151 | changelog | postgresql | postgresql | 132 | 18 | The target XID is potentially 64 bits wide, but it was parsed with `strtoul()`, causing misbehavior on platforms where `long` is 32 bits (such as Windows).
* Avoid trying to use parallel index build in a standalone backend (Yulin Pei) [§](https://postgr.es/c/fac31b2cd)
* Allow index AMs to support included columns wi... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
102c0711-2f8e-588a-b72d-f40259d90680 | changelog | postgresql | postgresql | 132 | 19 | No such aggregate functions exist in core PostgreSQL, but some extensions such as PostGIS provide some. The mistake is harmless anyway in a non-assert build.
* Avoid assertion failure in `pg_get_functiondef()` when examining a function with a `TRANSFORM` option (Tom Lane) [§](https://postgr.es/c/a26194f22)
* Fix data... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
932329cc-0511-5114-939d-6efa94bdade7 | changelog | postgresql | postgresql | 132 | 20 | If we successfully made a GSS-encrypted connection, but then failed during authentication, we would fall back to an unencrypted connection rather than next trying an SSL-encrypted connection. This could lead to unexpected connection failure, or to silently getting an unencrypted connection where an encrypted one is e... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
d3e1d38a-8243-5b8e-8f3d-0f5e182c97ed | changelog | postgresql | postgresql | 132 | 21 | * In psql's `\d` commands, don't truncate the display of column default values (Tom Lane) [§](https://postgr.es/c/a0ef08172)
Formerly, they were arbitrarily truncated at 128 characters.
* Fix assorted bugs in psql's `\help` command (Kyotaro Horiguchi, Tom Lane) [§](https://postgr.es/c/64bdb6e5f)
`\help` with two ... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
580ab48e-05d0-5f0c-984f-c07bd7e4d03a | changelog | postgresql | postgresql | 132 | 22 | * In pg\_dump, ensure that the restore script runs `ALTER PUBLICATION ADD TABLE` commands as the owner of the publication, and similarly runs `ALTER INDEX ATTACH PARTITION` commands as the owner of the partitioned index (Tom Lane) [§](https://postgr.es/c/0011c5a0f) [§](https://postgr.es/c/79d3ac72f)
Previously, thes... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
535e9158-e60a-5659-b42b-2f94b08ba535 | changelog | postgresql | postgresql | 132 | 23 | * In pg\_rewind, ensure that all WAL is accounted for when rewinding a standby server (Ian Barwick, Heikki Linnakangas) [§](https://postgr.es/c/abd0abfb7) [§](https://postgr.es/c/e41a2efbc) [§](https://postgr.es/c/e6dc04d43)
* In pgbench, disallow a digit as the first character of a variable name (Fabien Coelho) [§](ht... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
7335c471-8946-5257-957e-6de1d49c156a | changelog | postgresql | postgresql | 132 | 24 | Memory consumed while producing the `EXPLAIN` output was not freed until the end of the current transaction (for a top-level statement) or the end of the surrounding statement (for a nested statement). This was particularly a problem with `log_nested_statements` enabled.
* In `contrib/postgres_fdw`, avoid leaking ope... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
e0cc6742-0851-544b-8da5-8b74bb0bec60 | changelog | postgresql | postgresql | 132 | 25 | * Make `contrib/pg_prewarm` more robust when the cluster is shut down before prewarming is complete (Tom Lane) [§](https://postgr.es/c/4b0292253)
Previously, autoprewarm would rewrite its status file with only the block numbers that it had managed to load so far, thus perhaps largely disabling the prewarm functional... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
a03970be-115d-5b9d-8038-6afaeb13ba05 | changelog | postgresql | postgresql | 132 | 26 | The main loop in `contrib/pg_prewarm`'s autoprewarm parent process underestimated its desired sleep time by a factor of 1000, causing it to consume much more CPU than intended. When waiting for a result from a remote server, `contrib/postgres_fdw` overestimated the desired timeout by a factor of 1000 (though this err... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
3ddd51bd-22ce-5387-8c8e-2bca45895ea3 | changelog | postgresql | postgresql | 132 | 27 | * While building on macOS, specify `-isysroot` in link steps as well as compile steps (James Hilliard) [§](https://postgr.es/c/9e9a31bd0)
This likewise improves the results when Xcode is out of sync with the operating system.
* Fix JIT compilation to be compatible with LLVM 11 and LLVM 12 (Andres Freund) [§](https:/... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
e00e1c98-af94-516f-aa5a-ac479b04527e | changelog | postgresql | postgresql | 132 | 28 | While such a call is not known to cause problems in itself, some compilers assume that the arguments of `memcpy()` are never NULL, which could result in incorrect optimization of nearby code.
* Update time zone data files to tzdata release 2021a for DST law changes in Russia (Volgograd zone) and South Sudan, plus his... | large_dataset/raw/changelog/postgresql_releases/postgresql_132.md |
d5f0e5e0-95e8-590d-963c-f62cfc53eb44 | changelog | postgresql | postgresql | 1320 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.20/
Version: 13.20
## PostgreSQL 13.20
| E.4. Release 13.20 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-21.html "E.3. Release 13.21") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1320.md |
6e233749-792d-547f-af8f-863aeda26104 | changelog | postgresql | postgresql | 1320 | 1 | ### E.4.1. Migration to Version 13.20
A dump/restore is not required for those running 13.X.
However, if you are upgrading from a version earlier than 13.17, see [Section E.7](release-13-17.html "E.7. Release 13.17").
### E.4.2. Changes
* Improve behavior of libpq's quoting functions (Andres Freund, Tom Lane) [§](h... | large_dataset/raw/changelog/postgresql_releases/postgresql_1320.md |
b03b53e5-1ff1-5be4-8665-d47c199fb63d | changelog | postgresql | postgresql | 1320 | 2 | In addition, modify all these quoting functions so that when invalid encoding is detected, an invalid sequence is substituted for just the first byte of the presumed character, not all of it. This reduces the risk of problems if a calling application performs additional processing on the quoted string.
* Fix crash in... | large_dataset/raw/changelog/postgresql_releases/postgresql_1320.md |
3fa24f91-c3c0-5382-a722-34158863258c | changelog | postgresql | postgresql | 1320 | 3 | [Next](/docs/release/13.21/)
| large_dataset/raw/changelog/postgresql_releases/postgresql_1320.md |
65dcd2ea-9d9d-5641-8c93-fc7eb9e70471 | changelog | postgresql | postgresql | 1321 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.21/
Version: 13.21
## PostgreSQL 13.21
| E.3. Release 13.21 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-22.html "E.2. Release 13.22") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
c3249932-60ba-520a-b4e1-9325f6524a5b | changelog | postgresql | postgresql | 1321 | 1 | ### E.3.1. Migration to Version 13.21
A dump/restore is not required for those running 13.X.
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... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
46891dbc-b812-5185-a9e6-d5671990f82b | changelog | postgresql | postgresql | 1321 | 2 | 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 in failure to enforce the constraint fully.
To fix this, you should drop and recreate any self-referential foreign keys ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
c9e678dd-6cc2-5f97-a7a7-1dd836912911 | changelog | postgresql | postgresql | 1321 | 3 | * Correctly process references to outer CTE names that appear within a `WITH` clause attached to an `INSERT`/`UPDATE`/`DELETE`/`MERGE` command that's inside `WITH` (Tom Lane) [§](https://postgr.es/c/e276b5829)
The parser failed to detect disallowed recursion cases, nor did it account for such references when sorting... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
6800a37f-40ac-521f-95cf-ddc22fae7c0a | changelog | postgresql | postgresql | 1321 | 4 | If a domain type has a default, adding a column of that type (without any explicit `DEFAULT` clause) failed to install the domain's default value in existing rows, instead leaving the new column null.
* Improve the error message for disallowed attempts to alter the properties of a foreign key constraint (Álvaro Herre... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
47aaac2b-7f30-587e-bfc2-502c13e8a783 | changelog | postgresql | postgresql | 1321 | 5 | An indexable clause with many keys (for example, `jsonbcol ?| array[...]` with tens of thousands of array elements) took O(N2) time to start up, and was uncancelable for that interval too.
* Detect missing support procedures in a BRIN index operator class, and report an error instead of crashing (Álvaro Herrera) [§](... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
990956fc-1146-5272-9831-4cf0772a5ef9 | changelog | postgresql | postgresql | 1321 | 6 | * Skip WAL recycling and preallocation during archive recovery, to avoid corruption of WAL files that were restored from the archive (Noah Misch, Arun Thirupathi) [§](https://postgr.es/c/69a498eb6) [§](https://postgr.es/c/a5b0c06da) [§](https://postgr.es/c/cbed472a9) [§](https://postgr.es/c/d0b6acaf0) [§](https://postg... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
524ba043-5d0b-54f4-9fe0-2f55e420cfba | changelog | postgresql | postgresql | 1321 | 7 | * Avoid data loss when DDL operations that don't take a strong lock affect tables that are being logically replicated (Shlok Kyal, Hayato Kuroda) [§](https://postgr.es/c/247ee9415) [§](https://postgr.es/c/4164d6976)
The catalog changes caused by the DDL command were not reflected into WAL-decoding processes, allowin... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
057dfaef-906c-57df-9c7f-cde5fab3522e | changelog | postgresql | postgresql | 1321 | 8 | The server rejects such `DROP` commands. That has no real consequences, since the partitions will go away anyway in the subsequent `DROP`s of either their parent tables or their partitioned index. However, the error reported for the attempted drop causes problems when restoring in `--single-transaction` mode.
* In pg... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
fd461b8a-258b-57a6-a24f-a88c425aaca8 | changelog | postgresql | postgresql | 1321 | 9 | * Avoid crashing with corrupt input data in `contrib/pageinspect`'s `heap_page_items()` (Dmitry Kovalenko) [§](https://postgr.es/c/3f9132ed2)
* Prevent assertion failure in `contrib/pg_freespacemap`'s `pg_freespacemap()` (Tender Wang) [§](https://postgr.es/c/db8238da4)
Applying `pg_freespacemap()` to a relation lack... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
2f405645-2393-504e-9c96-0578b38f5945 | changelog | postgresql | postgresql | 1321 | 10 | | [Prev](release-13-22.html "E.2. Release 13.22") | [Up](release.html "Appendix E. Release Notes") | [Next](release-13-20.html "E.4. Release 13.20") |
| E.2. Release 13.22 | [Home](index.html "PostgreSQL 13.23 Documentation") | E.4. Release 13.20 |
[Previous](/docs/release/13.20/)
[Return to the Release Notes Archive... | large_dataset/raw/changelog/postgresql_releases/postgresql_1321.md |
13bce8b4-676b-53ca-a8f8-d6db3186356c | changelog | postgresql | postgresql | 1322 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.22/
Version: 13.22
## PostgreSQL 13.22
| E.2. Release 13.22 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-23.html "E.1. Release 13.23") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md |
2b0d55b7-1c90-5ce7-894b-ccd027fadec8 | changelog | postgresql | postgresql | 1322 | 1 | ### E.2.1. Migration to Version 13.22
A dump/restore is not required for those running 13.X.
However, if you are upgrading from a version earlier than 13.21, see [Section E.3](release-13-21.html "E.3. Release 13.21").
### E.2.2. Changes
* Tighten security checks in planner estimation functions (Dean Rasheed) [§](ht... | large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md |
3fdee081-3e47-5fda-b26b-aa885150ce32 | changelog | postgresql | postgresql | 1322 | 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_1322.md |
01c53edc-d1c3-5903-9341-0b4845e6ee2a | changelog | postgresql | postgresql | 1322 | 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_1322.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.