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
dab8619d-27d7-549a-8f66-5287f5d8a897
changelog
postgresql
postgresql
1411
8
Some cases that should cause an out-of-range error produced an incorrect result instead. * Add more checks for overflow in `interval_mul()` and `interval_div()` (Dean Rasheed) [§](https://postgr.es/c/2ffcebdba) Some cases that should cause an out-of-range error produced an incorrect result instead. * Make the `pg_...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
fb2fc3f2-da04-5504-beae-fc14b5c395c5
changelog
postgresql
postgresql
1411
9
* Avoid failure if a child index is dropped concurrently with `REINDEX INDEX` on a partitioned index (Fei Changhong) [§](https://postgr.es/c/b6f2e019d) [§](https://postgr.es/c/b685b41cf) * Fix insufficient locking when cleaning up an incomplete split of a GIN index's internal page (Fei Changhong, Heikki Linnakangas) [§...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
beab03df-f24b-52d2-b3f9-07cf2a92c11a
changelog
postgresql
postgresql
1411
10
* Fix ownership change reporting for large objects (Tom Lane) [§](https://postgr.es/c/f552f2be2) A no-op `ALTER LARGE OBJECT OWNER` command (that is, one selecting the existing owner) passed the wrong class ID to the `PostAlterHook`, probably confusing any extension using that hook. * Prevent standby servers from in...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
5e345501-1f23-5e88-9aff-f0d10d19a2d7
changelog
postgresql
postgresql
1411
11
* Fix deadlock between a logical replication apply worker, its tablesync worker, and a session process trying to alter the subscription (Shlok Kyal) [§](https://postgr.es/c/3f86867d5) One edge of the deadlock loop did not involve a lock wait, so the deadlock went undetected and would persist until manual interventio...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
46537bb9-08c6-5bd2-bcf5-db4942af7162
changelog
postgresql
postgresql
1411
12
In some cases we'd treat this as a loggable error, which was not the intention and tends to create log spam, since common clients like psql frequently do this. It may also confuse extensions that use `ClientAuthentication_hook`. * Fix incompatibility with OpenSSL 3.2 (Tristan Partin, Bo Andreson) [§](https://postgr.e...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
c6ed1b2a-73b1-5386-8619-30f6923fdd84
changelog
postgresql
postgresql
1411
13
* Report ENOMEM errors from file-related system calls as `ERRCODE_OUT_OF_MEMORY`, not `ERRCODE_INTERNAL_ERROR` (Alexander Kuzmenkov) [§](https://postgr.es/c/329b96882) * In PL/pgSQL, support SQL commands that are `CREATE FUNCTION`/`CREATE PROCEDURE` with SQL-standard bodies (Tom Lane) [§](https://postgr.es/c/b7e8f27d1)...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
66e49ecc-13c8-51c6-843a-052b9f9ee082
changelog
postgresql
postgresql
1411
14
In pipeline mode, it may still be necessary to call `PQflush()` as well; but this change removes some inconsistency. * Avoid race condition when libpq initializes OpenSSL support concurrently in two different threads (Willi Mann, Michael Paquier) [§](https://postgr.es/c/c3b79223f) * Fix timing-dependent failure in GS...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
62256cb9-dd53-56e8-ad0d-a51405a38cb5
changelog
postgresql
postgresql
1411
15
Previously, commands would be included in the dump to set these properties, which is really incorrect since they should be considered as internal affairs of the extension. Moreover, the restoring user might not have adequate privilege to set them, and indeed the dumping user might not have enough privilege to dump th...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
67549ea0-f20c-5325-9b98-d9999a9e6b43
changelog
postgresql
postgresql
1411
16
* Fix crash in `contrib/intarray` if an array with an element equal to `INT_MAX` is inserted into a `gist__int_ops` index (Alexander Lakhin, Tom Lane) [§](https://postgr.es/c/90e8b86fc) * Report a better error when `contrib/pageinspect`'s `hash_bitmap_info()` function is applied to a partitioned hash index (Alexander L...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
a0366805-2b7b-5b21-9b2d-d55f4812b407
changelog
postgresql
postgresql
1411
17
* Fix compilation failures with libxml2 version 2.12.0 and later (Tom Lane) [§](https://postgr.es/c/29e25a6b1) * Fix compilation failure of `WAL_DEBUG` code on Windows (Bharath Rupireddy) [§](https://postgr.es/c/c49b6cab1) * Suppress compiler warnings from Python's header files (Peter Eisentraut, Tom Lane) [§](https://...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
d8129316-9e17-5df4-b37a-e95454901917
changelog
postgresql
postgresql
1411
18
| [Prev](release-14-12.html "E.9. Release 14.12") | [Up](release.html "Appendix E. Release Notes") | [Next](release-14-10.html "E.11. Release 14.10") | | E.9. Release 14.12 | [Home](index.html "PostgreSQL 14.20 Documentation") | E.11. Release 14.10 | [Previous](/docs/release/14.10/) [Return to the Release Notes Archi...
large_dataset/raw/changelog/postgresql_releases/postgresql_1411.md
1222bf76-73a5-5659-9c13-19a590a0502a
changelog
postgresql
postgresql
1412
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.12/ Version: 14.12 ## PostgreSQL 14.12 | E.9. Release 14.12 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-13.html "E.8. Release 14.13") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
94a956eb-7c73-5519-b9ab-013e959518ae
changelog
postgresql
postgresql
1412
1
However, a security vulnerability was found in the system views `pg_stats_ext` and `pg_stats_ext_exprs`, potentially allowing authenticated database users to see data they shouldn't. If this is of concern in your installation, follow the steps in the first changelog entry below to rectify it. Also, if you are upgradin...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
5770aba6-6038-5209-94fb-278e3f381357
changelog
postgresql
postgresql
1412
2
The PostgreSQL Project thanks Lukas Fittl for reporting this problem. (CVE-2024-4317) By itself, this fix will only fix the behavior in newly initdb'd database clusters. If you wish to apply this change in an existing cluster, you will need to do the following: 1. Find the SQL script `fix-CVE-2024-4317.sql` in ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
9ae272ec-1b8b-5845-b462-de2ea07c734a
changelog
postgresql
postgresql
1412
3
3. Do not forget to include the `template0` and `template1` databases, or the vulnerability will still exist in databases you create later. To fix `template0`, you'll need to temporarily make it accept connections. Do that with ```None ALTER DATABASE template0 WITH ALLOW_CONNECTIONS true; ``` an...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
cb7bdbf5-490d-5272-af6b-d15b41b824f5
changelog
postgresql
postgresql
1412
4
A NULL value satisfies a clause such as `boolcol IS NOT FALSE`, so pruning away a partition containing NULLs yielded incorrect answers. * Make `ALTER FOREIGN TABLE SET SCHEMA` move any owned sequences into the new schema (Tom Lane) [§](https://postgr.es/c/66bbad581) Moving a regular table to a new schema causes an...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
7b787cc0-1457-5817-9cf0-68b574a4cc33
changelog
postgresql
postgresql
1412
5
If the session that creates a temporary table crashes without removing the table, autovacuum will eventually try to remove the orphaned table. However, an incoming session that's been assigned the same temporary namespace will do that too. If a temporary table has a dependency (such as an owned sequence) then a deadl...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
c34cb9ee-00e6-56bf-813e-035902f53a25
changelog
postgresql
postgresql
1412
6
In versions before PostgreSQL 16, it was possible for generated conditions to be evaluated below outer joins when they should be evaluated above (after) the outer join, leading to incorrect query results. All versions have a similar hazard when considering joins to `UNION ALL` trees that have constant outputs for the...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
53acfae5-3be3-5430-a7b7-7380d1ad3270
changelog
postgresql
postgresql
1412
7
* Avoid freeing still-in-use data in Memoize (Tender Wang, Andrei Lepikhov) [§](https://postgr.es/c/72b8507db) In production builds this error frequently didn't cause any problems, as the freed data would most likely not get overwritten before it was used. * Fix incorrectly-reported statistics kind codes in “request...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
116cd720-e941-5e75-9116-74a3658f47b8
changelog
postgresql
postgresql
1412
8
* Fix confusion about the return rowtype of SQL-language procedures (Tom Lane) [§](https://postgr.es/c/649bbba11) A procedure implemented in SQL language that returns a single composite-type column would cause an assertion failure or core dump. * Add protective stack depth checks to some recursive functions (Egor Ch...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
09900286-299c-5c1a-ada3-01dcbc5083fa
changelog
postgresql
postgresql
1412
9
* Avoid race condition in `pg_get_expr()` (Tom Lane) [§](https://postgr.es/c/d21690edb) If the relation referenced by the argument is dropped concurrently, the function's intention is to return NULL, but sometimes it failed instead. * Fix detection of old transaction IDs in XID status functions (Karina Litskevich) [...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
58ce762c-de86-55db-bda9-80ee46694a20
changelog
postgresql
postgresql
1412
10
* Avoid corrupting exception stack if an FDW implements async append but doesn't configure any wait conditions for the Append plan node to wait for (Alexander Pyhalov) [§](https://postgr.es/c/e10ca95ff) * Throw an error if an index is accessed while it is being reindexed (Tom Lane) [§](https://postgr.es/c/09f09884c) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
d59dd909-d9a9-5e55-93e7-55c6777514e7
changelog
postgresql
postgresql
1412
11
* Disconnect if a new server session's client socket cannot be put into non-blocking mode (Heikki Linnakangas) [§](https://postgr.es/c/bf1f593e8) It was once theoretically possible for us to operate with a socket that's in blocking mode; but that hasn't worked fully in a long time, so fail at connection start rather...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
5422e48d-9d7a-5719-8151-9b27d1c3b292
changelog
postgresql
postgresql
1412
12
* Fix crash in ecpg's preprocessor if the program tries to redefine a macro that was defined on the preprocessor command line (Tom Lane) [§](https://postgr.es/c/463164639) [§](https://postgr.es/c/df66319f7) [§](https://postgr.es/c/de84608e2) * In ecpg, avoid issuing false “unsupported feature will be passed to server” ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
9a1afc2e-c3ea-5e41-aa3c-6d7ab1119567
changelog
postgresql
postgresql
1412
13
* In `contrib/amcheck`, don't report false match failures due to short- versus long-header values (Andrey Borodin, Michael Zhilin) [§](https://postgr.es/c/4e8529da4) [§](https://postgr.es/c/5df5d9cd7) A variable-length datum in a heap tuple or index tuple could have either a short or a long header, depending on comp...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
da0497e3-c48b-53ef-8c47-a073008648e1
changelog
postgresql
postgresql
1412
14
This could occur in cases involving `UNION ALL` with constant-emitting subqueries. Sorting by a constant is useless of course, but it also risks being misinterpreted by the remote server, leading to “ORDER BY position *`N`* is not in select list” errors. * Make `contrib/postgres_fdw` set the remote session's time zon...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
d6d5e6ff-8b1a-5331-800c-8c8f155ac6de
changelog
postgresql
postgresql
1412
15
* Allow `make check` to work with the musl C library (Thomas Munro, Bruce Momjian, Tom Lane) [§](https://postgr.es/c/d82605bcd) --- | | | | | --- | --- | --- | | [Prev](release-14-13.html "E.8. Release 14.13") | [Up](release.html "Appendix E. Release Notes") | [Next](release-14-11.html "E.10. Release 14.11") | | E...
large_dataset/raw/changelog/postgresql_releases/postgresql_1412.md
6c5b5943-f327-50cb-873a-4f64d66484c7
changelog
postgresql
postgresql
1413
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.13/ Version: 14.13 ## PostgreSQL 14.13 | E.8. Release 14.13 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-14.html "E.7. Release 14.14") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
136213c2-b7ca-5c72-814d-ea391b886a45
changelog
postgresql
postgresql
1413
1
### E.8.2. Changes * Prevent unauthorized code execution during pg\_dump (Masahiko Sawada) [§](https://postgr.es/c/72ef1675e) An attacker able to create and drop non-temporary objects could inject SQL code that would be executed by a concurrent pg\_dump session with the privileges of the role running pg\_dump (whic...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
51247f82-ade8-5b18-a6cd-e91032d2796c
changelog
postgresql
postgresql
1413
2
After a disconnected standby server with an old running transaction reconnected to the primary, it was possible for `VACUUM` on the primary to get confused about which tuples are removable, resulting in an infinite loop. * Fix failure after attaching a table as a partition, if the table had previously had inheritance...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
e21fc83a-b6ca-51df-8e64-8ea1caa4f58a
changelog
postgresql
postgresql
1413
3
* Fix partition pruning setup during `ALTER TABLE DETACH PARTITION CONCURRENTLY` (Álvaro Herrera) [§](https://postgr.es/c/66e569f50) [§](https://postgr.es/c/5dcaefc6a) The executor assumed that no partition could be detached between planning and execution of a query on a partitioned table. This is no longer true sin...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
5225dae8-b09d-5fbe-9a81-a56a528a8cbd
changelog
postgresql
postgresql
1413
4
The SQL `CALL` statement did not resolve the correct data types for such arguments, leading to errors such as “cannot display a value of type anyelement”, or even outright crashes. (But `CALL` in PL/pgSQL worked correctly.) * Fix behavior of stable functions called from a `CALL` statement's argument list (Tom Lane) [...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
32414f06-d328-5e1e-981a-7e23cbc9b881
changelog
postgresql
postgresql
1413
5
These functions clamped their scale argument to +/-2000, but there are valid use-cases for it to be larger; the functions returned incorrect results in such cases. Instead clamp to the actual allowed range of type `numeric`. * Prevent `pg_sequence_last_value()` from failing on unlogged sequences on standby servers an...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
b9dfe858-c83c-5cf6-9628-39de651e1e30
changelog
postgresql
postgresql
1413
6
* Detect another integer overflow case while computing new array dimensions (Joseph Koshakow) [§](https://postgr.es/c/670fb9f18) Reject applying array dimensions `[-2147483648:2147483647]` to an empty array. This is closely related to CVE-2023-5869, but appears harmless since the array still ends up empty. * Detect ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
1c25a62c-af27-5533-b8eb-e91f5c1a6b47
changelog
postgresql
postgresql
1413
7
If such a column is non-updatable, we should give an error reporting that. But the check was missed and then later code would report an unhelpful error such as “attribute number *`N`* not found in view targetlist”. * Avoid reporting an unhelpful internal error for incorrect recursive queries (Tom Lane) [§](https://po...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
e71457be-01dc-5423-88e2-ee64049e23a2
changelog
postgresql
postgresql
1413
8
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_1413.md
f82254de-af31-5466-903a-cd173e2f8d59
changelog
postgresql
postgresql
1413
9
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_1413.md
fcafaf12-5a8f-57a3-bea4-630373ffcea3
changelog
postgresql
postgresql
1413
10
The `CREATE` command failed to adjust column references in statistics expressions to the possibly-different column numbering of the new table. This resulted in invalid statistics objects that would cause problems later. A typical scenario where renumbering columns is needed is when the source table contains some drop...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
5b51f212-63ca-5a9c-ab1d-2a6422b0154c
changelog
postgresql
postgresql
1413
11
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 report is processed, leading to SIGSEGV when the location strings are accessed. * Cope with behavioral changes in libxml...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
5a1bb40a-8e36-571f-bd91-6a4b282098fd
changelog
postgresql
postgresql
1413
12
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 as being still in progress. But subtransactions of a prepared transaction (created by savepoints or PL/pgSQL exception blocks) were not accounted for ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
d2b7cce8-4355-5d51-9b82-4ac4a7d2652d
changelog
postgresql
postgresql
1413
13
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_1413.md
a653cba4-1374-5fa6-bc35-5ff4d87aa0eb
changelog
postgresql
postgresql
1413
14
* Fix buffer overread in JSON parse error reports for incomplete byte sequences (Jacob Champion) [§](https://postgr.es/c/41adf9d96) It was possible to walk off the end of the input buffer by a few bytes when the last bytes comprise an incomplete multi-byte character. While usually harmless, in principle this could c...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
f14ac429-0f78-55e1-983c-a0a3924b6ab7
changelog
postgresql
postgresql
1413
15
* Fix incompatibility between PL/Perl and Perl 5.40 (Andrew Dunstan) [§](https://postgr.es/c/20f22e6a6) * Fix recursive `RECORD`-returning PL/Python functions (Tom Lane) [§](https://postgr.es/c/d39337021) If we recurse to a new call of the same function that passes a different column definition list (`AS` clause), i...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
64d78ede-42f1-5c99-a7a7-cd588b4c1926
changelog
postgresql
postgresql
1413
16
* Avoid non-thread-safe usage of `strerror()` in libpq (Peter Eisentraut) [§](https://postgr.es/c/95e805e9c) Certain error messages returned by OpenSSL could become garbled in multi-threaded applications. * Ensure that `pg_restore` `-l` reports dependent TOC entries correctly (Tom Lane) [§](https://postgr.es/c/52b23...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
4b752fb0-4532-5a3e-ba0a-fbca32a9cba4
changelog
postgresql
postgresql
1413
17
* Fix otherwise-harmless assertion failure in Memoize cost estimation (David Rowley) [§](https://postgr.es/c/dae9f16aa) * Fix otherwise-harmless assertion failures in `REINDEX CONCURRENTLY` applied to an SP-GiST index (Tom Lane) [§](https://postgr.es/c/e4a55378f) --- | | | | | --- | --- | --- | | [Prev](release-14...
large_dataset/raw/changelog/postgresql_releases/postgresql_1413.md
c20fd21e-3784-586d-a174-8c8aae8ad158
changelog
postgresql
postgresql
1414
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.14/ Version: 14.14 ## PostgreSQL 14.14 | E.7. Release 14.14 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-15.html "E.6. Release 14.15") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
d580b126-f8a2-5fb2-80b0-ddad4a804465
changelog
postgresql
postgresql
1414
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_1414.md
3bbe127e-bdbd-5b2e-8f70-bb145d1988a2
changelog
postgresql
postgresql
1414
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/e6c945476) An error message received before encryption negotiation is completed might have been in...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
98c3fcc7-01b1-5dc6-af1c-0a7d08ffe2ad
changelog
postgresql
postgresql
1414
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_1414.md
eb9d6f6e-4650-538d-8cd1-8bb8dbfb9b92
changelog
postgresql
postgresql
1414
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_1414.md
745ae5dd-ab6c-5e59-b316-d2cfb95c793a
changelog
postgresql
postgresql
1414
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_1414.md
aefa5f0e-ad98-5073-8750-ce58bb5c6127
changelog
postgresql
postgresql
1414
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_1414.md
b8cf1bf5-3de9-5c4d-8d56-403b6f57dc8c
changelog
postgresql
postgresql
1414
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. * Avoid pos...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
b3d6db72-2e1d-5e37-8a00-0010c6a67bb0
changelog
postgresql
postgresql
1414
8
* Don't use partitionwise joins or grouping if the query's collation for the key column doesn't match the partition key's collation (Jian He, Webbo Han) [§](https://postgr.es/c/62df5484f) [§](https://postgr.es/c/96f9b29a3) Such plans could produce incorrect results. * Fix possible “could not find pathkey item to sor...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
d5f90ff7-43eb-54db-b22e-a3b104211050
changelog
postgresql
postgresql
1414
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_1414.md
d3cdacce-7dce-54d0-a589-435e6e0046e7
changelog
postgresql
postgresql
1414
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_1414.md
c6e58ea0-6a47-5022-b278-770b47aa73a1
changelog
postgresql
postgresql
1414
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_1414.md
9b7f3d01-360d-5963-9d9f-1654d92a4b4e
changelog
postgresql
postgresql
1414
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. * Report the active query ID for statistics purposes at the start of proces...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
eb173f6c-c430-52d6-8456-d54cf8ba8151
changelog
postgresql
postgresql
1414
13
Normally, `REINDEX CONCURRENTLY` does not need to wait for other `REINDEX CONCURRENTLY` operations on other tables. However, this optimization is not applied if the other `REINDEX CONCURRENTLY` is processing an index with predicates or expressions, on the chance that such expressions contain user-defined code that ac...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
556b0356-9f3a-59cf-8a52-49a7c918d6bb
changelog
postgresql
postgresql
1414
14
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_1414.md
b197a223-8da1-5360-a9df-01ab2ad485e7
changelog
postgresql
postgresql
1414
15
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. * Avoid “unexpected table\_index\_fetch\_tuple call during logical de...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
82994d7b-fff0-5970-bc40-b3073f9a83c7
changelog
postgresql
postgresql
1414
16
A previous change to prevent sending of stateful (TLSv1.3) session tickets accidentally re-enabled sending of stateless ones. Thus, while we intended to prevent clients from thinking that TLS session resumption is supported, some still did. * Avoid “wrong tuple length” failure when dropping a database with many ACL (...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
a8b74fbb-31ed-5002-a3aa-df200b6537c0
changelog
postgresql
postgresql
1414
17
As with a similar fix in our previous quarterly releases, this case allowed such functions to be passed the wrong snapshot, causing them to see stale values of rows modified since the start of the outer transaction. * Fix “cache lookup failed for function” errors in edge cases in PL/pgSQL's `CALL` (Tom Lane) [§](http...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
42d4587e-4c3f-5573-839c-ea51e84194d0
changelog
postgresql
postgresql
1414
18
That function will call `exit()` on out-of-memory, which is undesirable in a library. The calling code already handles allocation failures properly. * In ecpglib, fix out-of-bounds read when parsing incorrect datetime input (Bruce Momjian, Pavel Nekrasov) [§](https://postgr.es/c/9a51d4af1) It was possible to try t...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
7a2a3ae4-810c-5dcf-8700-3ac172b0fd7f
changelog
postgresql
postgresql
1414
19
This entailed back-patching previous fixes by Thomas Munro, Peter Eisentraut, Alexander Lakhin, and Juan José Santamaría Flecha. Those changes were originally not back-patched out of caution, but they have been in use in later branches for long enough to deem them safe. * Avoid trying to reindex temporary tables and ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
329144c8-d98b-5cf8-bc78-22bf31264f60
changelog
postgresql
postgresql
1414
20
* Fix incorrect LLVM-generated code on ARM64 platforms (Thomas Munro, Anthonin Bonnefoy) [§](https://postgr.es/c/0b022ddf3) 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_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
7a79e0f6-865a-5a92-8aaf-d7fbed31d011
changelog
postgresql
postgresql
1414
21
* Update time zone data files to tzdata release 2024b (Tom Lane) [§](https://postgr.es/c/dedced73e) [§](https://postgr.es/c/b27622c90) 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`...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
6593a7d9-1246-5c48-9dee-6ab16bb18239
changelog
postgresql
postgresql
1414
22
| [Prev](release-14-15.html "E.6. Release 14.15") | [Up](release.html "Appendix E. Release Notes") | [Next](release-14-13.html "E.8. Release 14.13") | | E.6. Release 14.15 | [Home](index.html "PostgreSQL 14.20 Documentation") | E.8. Release 14.13 | [Previous](/docs/release/14.13/) [Return to the Release Notes Archive...
large_dataset/raw/changelog/postgresql_releases/postgresql_1414.md
ac78c7ab-92af-5b15-903b-38225a0d3bd5
changelog
postgresql
postgresql
1415
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.15/ Version: 14.15 ## PostgreSQL 14.15 | E.6. Release 14.15 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-16.html "E.5. Release 14.16") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1415.md
55a61d0c-3ee1-5e31-83c0-ef50260a0c15
changelog
postgresql
postgresql
1415
1
### E.6.2. Changes * Repair ABI break for extensions that work with struct `ResultRelInfo` (Tom Lane) [§](https://postgr.es/c/099e711b7) Last week's minor releases unintentionally broke binary compatibility with timescaledb and several other extensions. Restore the affected structure to its previous size, so that s...
large_dataset/raw/changelog/postgresql_releases/postgresql_1415.md
979733a8-b1e6-51e8-9c5f-2577044a55d3
changelog
postgresql
postgresql
1415
2
Previously, restarting logical replication could sometimes cause the slot's restart point to be recomputed as an older value than had previously been advertised in `pg_replication_slots`. This is bad, since for example WAL files might have been removed on the basis of the later `restart_lsn` value, in which case repl...
large_dataset/raw/changelog/postgresql_releases/postgresql_1415.md
0d2b8a9a-9feb-5027-9a46-24a9ab1e362a
changelog
postgresql
postgresql
1415
3
* 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/2a30b6836) * Fix crash when checking to see if an index's opclass options have changed (Alexander Korotkov) [§](https://postgr.es/c/247e7647f) Some fo...
large_dataset/raw/changelog/postgresql_releases/postgresql_1415.md
c5d99140-f3c8-521b-9821-cd8f77304836
changelog
postgresql
postgresql
1415
4
[Next](/docs/release/14.16/)
large_dataset/raw/changelog/postgresql_releases/postgresql_1415.md
086534e8-265d-54db-8a36-f2727c71f4d9
changelog
postgresql
postgresql
1416
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.16/ Version: 14.16 ## PostgreSQL 14.16 | E.5. Release 14.16 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-17.html "E.4. Release 14.17") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
1015dcb1-efd8-59d1-803b-de457a5baa5f
changelog
postgresql
postgresql
1416
1
### E.5.2. Changes * Harden `PQescapeString` and allied functions against invalidly-encoded input strings (Andres Freund, Noah Misch) [§](https://postgr.es/c/e0ef3d776) [§](https://postgr.es/c/5bc33cbea) [§](https://postgr.es/c/2ae54ae17) [§](https://postgr.es/c/46ddf98df) [§](https://postgr.es/c/4a6825c76) [§](https:...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
1d09d0e9-9b8b-5543-9b31-cc8bf0e19d40
changelog
postgresql
postgresql
1416
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_1416.md
bd02ee86-0d84-5e12-bcf4-30c30efb1c81
changelog
postgresql
postgresql
1416
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/c58b0c43d) Do not check `datallowconn`, `rolcanlogin`, and `ACL_CONNECT` privileges when starting a parallel worker, inst...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
0203f68c-666c-59d4-991e-892cdbd84c46
changelog
postgresql
postgresql
1416
4
* Keep `TransactionXmin` in sync with `MyProc->xmin` (Heikki Linnakangas) [§](https://postgr.es/c/41eafbb49) 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_1416.md
e19411c2-17f1-5c59-a0f3-a08bd96109a3
changelog
postgresql
postgresql
1416
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_1416.md
0ea1770b-224c-5061-b1aa-9b3aeded6512
changelog
postgresql
postgresql
1416
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_1416.md
0b9dbab3-4295-575d-8ef5-f7097974d2b5
changelog
postgresql
postgresql
1416
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/5882a4ba0) An integer format code immediately preceding `FFn` would consume all available digits, leaving none for `FFn`. * When...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
97e92502-96ce-517c-97bf-f0365e658f86
changelog
postgresql
postgresql
1416
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_1416.md
b543b429-338c-5b2c-a5e4-d273bb1dd1dd
changelog
postgresql
postgresql
1416
9
* Prevent streaming standby servers from looping infinitely when reading a WAL record that crosses pages (Kyotaro Horiguchi, Alexander Kukushkin) [§](https://postgr.es/c/a2d4f806c) This would happen when the record's continuation is on a page that needs to be read from a different WAL source. * Improve performance o...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
f6765ea2-f9c6-5228-a7c9-85849489d745
changelog
postgresql
postgresql
1416
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_1416.md
a79703e4-1814-5911-823c-0efcc40907d6
changelog
postgresql
postgresql
1416
11
* Avoid integer overflow while testing `wal_skip_threshold` condition (Tom Lane) [§](https://postgr.es/c/6a33bb35c) 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_1416.md
e1e6fa35-fb25-503a-bf62-3990fd70cd2c
changelog
postgresql
postgresql
1416
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_1416.md
d93d8d87-61bf-5ec5-a1fd-5c4c585974be
changelog
postgresql
postgresql
1416
13
* In `NULLIF()`, avoid passing a read-write expanded object pointer to the data type's equality function (Tom Lane) [§](https://postgr.es/c/a1168855e) 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_1416.md
dc4a912c-ae13-58fd-917d-241aeffa8e73
changelog
postgresql
postgresql
1416
14
Repeated use of `PLyPlan.execute` or `plpy.cursor` resulted in memory leakage for the duration of the calling PL/Python function. * Fix PL/Tcl to compile with Tcl 9 (Peter Eisentraut) [§](https://postgr.es/c/17d081a6f) * In the ecpg preprocessor, fix possible misprocessing of cursors that reference out-of-scope varia...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
f813c549-8f93-5f55-a678-6053ef695523
changelog
postgresql
postgresql
1416
15
* Fix use of wrong version of `pqsignal()` in pgbench and psql (Fujii Masao, Tom Lane) [§](https://postgr.es/c/02e69313a) This error could lead to misbehavior when using the `-T` option in pgbench or the `\watch` command in psql, due to interrupted system calls not being resumed as expected. * Fix misexecution of so...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
85e15572-361c-5e13-a13e-5b2dd7406a46
changelog
postgresql
postgresql
1416
16
Since pg\_controldata will attempt to print the contents of `pg_control` even if the CRC check fails, it must take care not to misbehave for invalid field values. This patch fixes some issues triggered by invalid timestamps and apparently-negative WAL segment sizes. * Fix possible crash in pg\_dump with identity sequ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
e5c9aeb6-dd46-5226-8850-cbf39382f75e
changelog
postgresql
postgresql
1416
17
On ARM platforms where the baseline CPU target lacks CRC instructions, we need to supply a `-march` switch to persuade the compiler to compile such instructions. Recent versions of gcc reject the value we were trying, leading to silently falling back to software CRC. * During configure, if a C23 compiler is detected,...
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
e39dc9f8-d899-52d6-b8a0-4fa61792e563
changelog
postgresql
postgresql
1416
18
| E.4. Release 14.17 | [Home](index.html "PostgreSQL 14.20 Documentation") | E.6. Release 14.15 | [Previous](/docs/release/14.15/) [Return to the Release Notes Archive](/docs/release/) [Next](/docs/release/14.17/)
large_dataset/raw/changelog/postgresql_releases/postgresql_1416.md
ac3a76d8-4af8-5dad-8b61-d360c67ff8d3
changelog
postgresql
postgresql
1417
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.17/ Version: 14.17 ## PostgreSQL 14.17 | E.4. Release 14.17 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-18.html "E.3. Release 14.18") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1417.md
98a87c11-c8d3-51aa-89ef-a53c8ebbf35f
changelog
postgresql
postgresql
1417
1
### E.4.2. Changes * Improve behavior of libpq's quoting functions (Andres Freund, Tom Lane) [§](https://postgr.es/c/985908df1) [§](https://postgr.es/c/c08309584) [§](https://postgr.es/c/f864a4cdf) The changes made for CVE-2025-1094 had one serious oversight: `PQescapeLiteral()` and `PQescapeIdentifier()` failed to...
large_dataset/raw/changelog/postgresql_releases/postgresql_1417.md
647692a0-8389-5e57-af8b-ae1be494ed11
changelog
postgresql
postgresql
1417
2
* Fix crash involving triggers on partitioned tables that make use of transition tables (Kyotaro Horiguchi) [§](https://postgr.es/c/8e58f8024) If there are both `AFTER UPDATE` and `AFTER DELETE` triggers, the need for transition tables was determined incorrectly, leading to a crash during cross-partition updates. -...
large_dataset/raw/changelog/postgresql_releases/postgresql_1417.md
2092cd98-1955-5101-9bdf-d00d7fa2c019
changelog
postgresql
postgresql
1418
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.18/ Version: 14.18 ## PostgreSQL 14.18 | E.3. Release 14.18 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-19.html "E.2. Release 14.19") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
50bd2257-3251-51bd-b099-c0c1b751ebeb
changelog
postgresql
postgresql
1418
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_1418.md
f4b8b32f-fd1d-5d9a-b06c-4189f5e0360d
changelog
postgresql
postgresql
1418
2
* Handle self-referential foreign keys on partitioned tables correctly (Álvaro Herrera) [§](https://postgr.es/c/1649d153a) 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_1418.md
43f2786e-39ce-5142-a690-e3074217ec64
changelog
postgresql
postgresql
1418
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_1418.md
03e0a6fd-c865-582f-a583-9da7ff7bf9ac
changelog
postgresql
postgresql
1418
4
* 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/754a3d82d) The parser failed to detect disallowed recursion cases, nor did it account for such references when sorting...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md