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 |
|---|---|---|---|---|---|---|---|
6f049bf8-3ef1-543b-ac2d-2fe60494f51f | changelog | postgresql | postgresql | 1310 | 3 | * Reject uses of undefined variables in `jsonpath` existence checks (Alexander Korotkov, David G. Johnston) [§](https://postgr.es/c/2ff3ac3b5)
While `jsonpath` match operators threw an error for an undefined variable in the path pattern, the existence operators silently treated it as a match.
* Fix edge-case data co... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
5f6d980a-d9f2-5b5b-b84d-90ca4f70eef0 | changelog | postgresql | postgresql | 1310 | 4 | * Log the correct ending timestamp in `recovery_target_xid` mode (Tom Lane) [§](https://postgr.es/c/1b9a0b96a)
When ending recovery based on the `recovery_target_xid` setting with `recovery_target_inclusive` = `off`, we printed an incorrect timestamp (always 2000-01-01) in the “recovery stopping before ... transacti... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
f023488c-132f-5e16-a1b6-0e190aa2cfff | changelog | postgresql | postgresql | 1310 | 5 | * In extended query protocol, avoid an immediate commit after `ANALYZE` if we're running a pipeline (Tom Lane) [§](https://postgr.es/c/942cc240f)
If there's not been an explicit `BEGIN TRANSACTION`, `ANALYZE` would take it on itself to commit, which should not happen within a pipelined series of commands.
* Reject c... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
ba84ca0d-bc0c-5fb0-bb90-0a2e7c91b496 | changelog | postgresql | postgresql | 1310 | 6 | A contrived query can result in deep recursion and unreasonable amounts of time spent trying to flatten subqueries. A proper fix for that seems unduly invasive for a back-patch, but we can at least add stack depth checks and an interrupt check to allow the query to be cancelled.
* Fix partitionwise-join code to toler... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
533853e5-753b-5c9d-aa57-86b6d817880d | changelog | postgresql | postgresql | 1310 | 7 | * Ensure that execution of full-text-search queries can be cancelled while they are performing phrase matches (Tom Lane) [§](https://postgr.es/c/74670688f)
* Fix memory leak in hashing strings with nondeterministic collations (Jeff Davis) [§](https://postgr.es/c/a844052b5)
* Clean up the libpq connection object after a... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
bcf2d862-2b17-53a7-add9-40def9c876ea | changelog | postgresql | postgresql | 1310 | 8 | * Ignore invalidated logical-replication slots while determining oldest catalog xmin (Sirisha Chamarthi) [§](https://postgr.es/c/36eeb37cd)
A replication slot could prevent cleanup of dead tuples in the system catalogs even after it becomes invalidated due to exceeding `max_slot_wal_keep_size`. Thus, failure of a re... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
70a77495-7b44-5405-83bc-76faed76f650 | changelog | postgresql | postgresql | 1310 | 9 | Failure to do this left the page possibly different on standby servers than the primary, and violated some other expectations about when the LSN changes. This seems only a theoretical hazard so far as PostgreSQL itself is concerned, but it could upset third-party tools.
* Prevent unsafe usage of a relation cache entr... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
5ad47fb6-941e-5ab1-bd40-57bd57dfdb66 | changelog | postgresql | postgresql | 1310 | 10 | The `epoll`-based and `kqueue`-based implementations could ask the kernel for too many events if the size of their internal buffer was different from the size of the caller's output buffer. That case is not known to occur in released PostgreSQL versions, but this error is a hazard for external modules and future bug ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
a9ea7902-7353-5ac1-82ea-e0ab6f7dedfd | changelog | postgresql | postgresql | 1310 | 11 | In principle these errors should never be reached. But if they are, some of them reported the wrong type of object.
* In pg\_dump, avoid calling unsafe server functions before we have locks on the tables to be examined (Tom Lane, Gilles Darold) [§](https://postgr.es/c/e46e986ba) [§](https://postgr.es/c/a5b26aaaf)
... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
4410df70-b662-58fe-8a40-5ce80468dd64 | changelog | postgresql | postgresql | 1310 | 12 | * In `contrib/sepgsql`, avoid deprecation warnings with recent libselinux (Michael Paquier) [§](https://postgr.es/c/c304c069d)
* Fix build on Microsoft Visual Studio 2013 (Tom Lane) [§](https://postgr.es/c/0942acb73)
A previous patch supposed that all platforms of interest have `snprintf()`, but MSVC 2013 isn't quit... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
1b5302cf-2469-5537-896f-c828bcffd1bf | changelog | postgresql | postgresql | 1310 | 13 | Our preferred compiler options provoke warnings about constructs appearing in recent versions of Perl's header files. When using gcc, we can suppress these warnings with a pragma.
* Fix pg\_waldump to build on compilers that don't discard unused static-inline functions (Tom Lane) [§](https://postgr.es/c/c78f109b8)
* ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
80252274-ddb2-5b7d-915d-d145a0f5325d | changelog | postgresql | postgresql | 1310 | 14 | [Next](/docs/release/13.11/)
| large_dataset/raw/changelog/postgresql_releases/postgresql_1310.md |
2d5367ea-b330-5bca-ac9e-344f9bf9d5e4 | changelog | postgresql | postgresql | 1311 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.11/
Version: 13.11
## PostgreSQL 13.11
| E.13. Release 13.11 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-12.html "E.12. Release 13.12") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
de91083f-4517-5528-961e-de89504418e7 | changelog | postgresql | postgresql | 1311 | 1 | ### E.13.2. Changes
* Prevent `CREATE SCHEMA` from defeating changes in `search_path` (Alexander Lakhin) [§](https://postgr.es/c/2212f7db8) [§](https://postgr.es/c/feb9e7fbb)
Within a `CREATE SCHEMA` command, objects in the prevailing `search_path`, as well as those in the newly-created schema, would be visible eve... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
ff7b828c-2aee-574d-b606-9b2d186ff7ae | changelog | postgresql | postgresql | 1311 | 2 | If a set-returning SQL-language function refers to a table having row-level security policies, and it can be inlined into a calling query, those RLS policies would not get enforced properly in some cases involving re-using a cached plan under a different role. This could allow a user to see or modify rows that should... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
bca37e99-7e03-52e0-95db-d67d25a243dc | changelog | postgresql | postgresql | 1311 | 3 | `ALTER TABLE ... ENABLE/DISABLE TRIGGER USER` skipped cloned triggers, mistaking them for system triggers. Other variants of `ENABLE/DISABLE TRIGGER` would process them, but only after improperly enforcing a superuserness check.
* Disallow altering composite types that are stored in indexes (Tom Lane) [§](https://pos... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
c1fe65c2-50eb-5c31-9800-cd790939fb6b | changelog | postgresql | postgresql | 1311 | 4 | * Ensure that `COPY TO` from an RLS-enabled parent table does not copy any rows from child tables (Antonin Houska) [§](https://postgr.es/c/866fd004d)
The documentation is quite clear that `COPY TO` copies rows from only the named table, not any inheritance children it may have. However, if row-level security was ena... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
9c94c674-1ee9-547d-a0e5-0f13b93aab17 | changelog | postgresql | postgresql | 1311 | 5 | Most cases in which a syntax error is detected in a string literal within a JSON value failed to set the error cursor appropriately. This led at least to an unhelpful error message (pointing to the token before the string, rather than the actual trouble spot), and could even result in a crash in v14 and later.
* Fix ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
285b6237-de64-586e-a6d9-21be0d6cfedd | changelog | postgresql | postgresql | 1311 | 6 | This oversight could lead to executor failures for queries that should have been rejected as invalid.
* Fix data structure corruption during parsing of serial `SEQUENCE NAME` options (David Rowley) [§](https://postgr.es/c/8d684c445)
This can lead to trouble if an event trigger captures the corrupted parse tree.
* ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
85c4685b-c70b-5252-8896-01252051a3de | changelog | postgresql | postgresql | 1311 | 7 | Correctly detect overflow of the total space needed for the result array, avoiding a possible crash due to undersized output allocation. Also ensure that any trailing padding space in the result array is zeroed; while leaving garbage there is harmless for most purposes, it can result in odd behavior later.
* Prevent ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
61a06a92-0157-513a-a139-f09afc5018d6 | changelog | postgresql | postgresql | 1311 | 8 | A crash was possible given unlucky timing and `parallel_leader_participation` = `off` (which is not the default).
* Recalculate `GENERATED` columns after an EvalPlanQual check (Tom Lane) [§](https://postgr.es/c/4a94cbd02)
In `READ COMMITTED` isolation mode, the effects of a row update might need to get reapplied t... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
79cf92bd-e9fd-5b38-9b52-7053e9df5f19 | changelog | postgresql | postgresql | 1311 | 9 | * Repair rare failure of MULTIEXPR\_SUBLINK subplans in partitioned updates (Andres Freund, Tom Lane) [§](https://postgr.es/c/1e199c259)
Use of the syntax `INSERT ... ON CONFLICT DO UPDATE SET (c1, ...) = (SELECT ...)` with a partitioned target table could result in failure if any child table is dissimilar from the ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
471a3245-5179-5f8d-9608-059cfd19cfde | changelog | postgresql | postgresql | 1311 | 10 | Such references are really lateral references, but the server could crash if the subquery wasn't explicitly marked with `LATERAL`. Arrange to do that implicitly when necessary.
* When decompiling a rule or SQL function body containing `INSERT`/`UPDATE`/`DELETE` within `WITH`, take care to print the correct alias for ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
efb3fc83-9024-5b01-9746-b619cb11e672 | changelog | postgresql | postgresql | 1311 | 11 | Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to an “out of relcache\_callback\_list slots” error.
* Avoid unnecessary calls to custom validators for index operator class options (Alexander Korotkov) [§](https://postgr.es/c/02191136c)
This change fixes so... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
2a37b3ca-d3c3-5ae5-832b-c768389fe775 | changelog | postgresql | postgresql | 1311 | 12 | * Correct the name of the wait event for SLRU buffer I/O for commit timestamps (Alexander Lakhin) [§](https://postgr.es/c/cedcc4191)
This wait event is named `CommitTsBuffer` according to the documentation, but the code had it as `CommitTSBuffer`. Change the code to match the documentation, as that way is more consi... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
505345f8-cc74-5193-82ee-0873d332f06b | changelog | postgresql | postgresql | 1311 | 13 | The operating system could recycle a PID before the postmaster observed that that child process was gone. This could lead to tracking more than one child with the same PID, resulting in confusion.
* Add missing cases to `SPI_result_code_string()` (Dean Rasheed) [§](https://postgr.es/c/906356cf6)
* Fix erroneous Valgr... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
94a9880e-9e69-55a9-a06c-01ed8c679401 | changelog | postgresql | postgresql | 1311 | 14 | A backslash followed by a non-ASCII character could sometimes cause an assertion failure, depending on the prevailing locale.
* Avoid trying to write an empty WAL record in `log_newpage_range()` when the last few pages in the specified range are empty (Matthias van de Meent) [§](https://postgr.es/c/86874a6df)
It i... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
fbf4c12a-c713-5d8a-b7cb-3c368ebe5fab | changelog | postgresql | postgresql | 1311 | 15 | * Tighten array dimensionality checks when converting Python list structures to multi-dimensional SQL arrays (Tom Lane) [§](https://postgr.es/c/0e6354ed9) [§](https://postgr.es/c/7dcd9998c)
plpython could misbehave when dealing with empty sub-lists, or when the nesting of sub-lists is inconsistent so that the data d... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
f7a04ba0-eabd-5fbe-b494-c55b8ce5f160 | changelog | postgresql | postgresql | 1311 | 16 | With `gssencmode` set to `require`, the connection was not marked dead after a GSS initialization failure. Make it fail immediately, as the equivalent case for TLS encryption has long done.
* Fix possible data corruption in ecpg programs built with the `-C ORACLE` option (Kyotaro Horiguchi) [§](https://postgr.es/c/e9... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
13d0f1a5-cf9b-5929-9589-09dd120b634e | changelog | postgresql | postgresql | 1311 | 17 | Since the hash codes for enum values depend on the OIDs assigned to the enum, they are typically different after a dump and restore, meaning that rows often need to go into a different partition than they were in originally. Users can work around that by specifying the `--load-via-partition-root` option; but since th... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
83f9676f-a0a9-5def-85f3-aa0b5a79654b | changelog | postgresql | postgresql | 1311 | 18 | * Require the `siglen` option of a GiST index on an `ltree` column, if specified, to be a multiple of 4 (Alexander Korotkov) [§](https://postgr.es/c/48c6825d0)
Other values result in misaligned accesses to index content, which is harmless on Intel-compatible hardware but can cause a crash on some other architectures... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
e4615c32-fccf-5ed7-90d5-e7bcae8183ac | changelog | postgresql | postgresql | 1311 | 19 | Previously, `make install-strip` used the `-x` option in this case. This change avoids misbehavior of llvm-strip, and gives slightly smaller output as well.
* Stop recommending auto-download of DTD files for building the documentation, and indeed disable it (Aleksander Alekseev, Peter Eisentraut, Tom Lane) [§](https:... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
03fe7648-33d3-56e9-b4f9-58652d7c70c7 | changelog | postgresql | postgresql | 1311 | 20 | Place it under `tmp_check` in the build directory. With the previous coding, a PGXS build would try to place it in the installation directory, which is not necessarily writable.
* Update time zone data files to tzdata release 2023c for DST law changes in Egypt, Greenland, Morocco, and Palestine. (Tom Lane) [§](https:... | large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
748e7b44-d4e6-541c-9a06-a8a518a52fc2 | changelog | postgresql | postgresql | 1311 | 21 | [Return to the Release Notes Archive](/docs/release/)
[Next](/docs/release/13.12/)
| large_dataset/raw/changelog/postgresql_releases/postgresql_1311.md |
295f69c3-9179-586a-9f0b-520e8ac4fae3 | changelog | postgresql | postgresql | 1312 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.12/
Version: 13.12
## PostgreSQL 13.12
| E.12. Release 13.12 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-13.html "E.11. Release 13.13") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
78163300-d910-5ffe-b85d-fed859a44273 | changelog | postgresql | postgresql | 1312 | 1 | Also, if you are upgrading from a version earlier than 13.7, see [Section E.17](release-13-7.html "E.17. Release 13.7").
### E.12.2. Changes
* Disallow substituting a schema or owner name into an extension script if the name contains a quote, backslash, or dollar sign (Noah Misch) [§](https://postgr.es/c/b1b585e0f)
... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
ca1e7c1d-1570-55d1-9fcb-6fdaf1742b5b | changelog | postgresql | postgresql | 1312 | 2 | This fix will not in itself correct faulty BRIN entries. It's recommended to `REINDEX` any BRIN indexes that may be used to search for nulls.
* Avoid leaving a corrupted database behind when `DROP DATABASE` is interrupted (Andres Freund) [§](https://postgr.es/c/81ce00006)
If `DROP DATABASE` was interrupted after i... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
80515248-dd37-5d44-b044-e141d2cd8922 | changelog | postgresql | postgresql | 1312 | 3 | If a new partitioned index matches an existing but invalid index on one of the partitions, the partitioned index could end up being marked valid prematurely. This could lead to misbehavior or assertion failures in subsequent queries on the partitioned table.
* Ignore invalid child indexes when matching partitioned in... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
44345bb0-ec0a-509b-a5bd-28868e36f9a0 | changelog | postgresql | postgresql | 1312 | 4 | Erroring out if the extension contains objects in multiple schemas was always intended; but the check was mis-coded so that it would fail to detect some cases, leading to surprising behavior.
* Don't use partial unique indexes for uniqueness proofs in the planner (David Rowley) [§](https://postgr.es/c/06286f8a2)
T... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
67563958-5fd5-5a41-bef0-9bf9947d204d | changelog | postgresql | postgresql | 1312 | 5 | * Correctly handle sub-SELECTs in RLS policy expressions and security-barrier views when expanding rule actions (Tom Lane) [§](https://postgr.es/c/a36d0014f)
* Fix race conditions in conflict detection for `SERIALIZABLE` isolation mode (Thomas Munro) [§](https://postgr.es/c/fc1547384) [§](https://postgr.es/c/8976ac5c5)... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
f80a3465-df2c-5b92-b1fc-b4d612221779 | changelog | postgresql | postgresql | 1312 | 6 | * Fix intermittent failures when trying to update a field of a composite column (Tom Lane) [§](https://postgr.es/c/d0ab203bc)
If the overall value of the composite column is wide enough to require out-of-line toasting, then an unluckily-timed cache flush could cause errors or server crashes.
* Prevent query-lifespan... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
0431bda4-71da-5ffd-84ce-3b464d9613b8 | changelog | postgresql | postgresql | 1312 | 7 | The previous limit of 256 bytes has been found insufficient for some use-cases.
* Fix mishandling of C++ out-of-memory conditions (Heikki Linnakangas) [§](https://postgr.es/c/59c2a6fe9)
If JIT is in use, running out of memory in a C++ `new` call would lead to a PostgreSQL FATAL error, instead of the expected C++ e... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
b4cf2145-629c-524c-9bca-9184624991c6 | changelog | postgresql | postgresql | 1312 | 8 | If an invalid sibling-page link is detected, log the issue and press on, rather than throwing an error as before. Nothing short of `REINDEX` will fix the broken index, but preventing `VACUUM` from completing until that is done risks making matters far worse.
* Ensure that `WrapLimitsVacuumLock` is released after `VAC... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
3a835c1b-6194-5f2a-940e-fce9f620f395 | changelog | postgresql | postgresql | 1312 | 9 | After a crash partway through a checkpoint with some two-phase transaction state data already flushed to disk by this checkpoint, crash recovery could attempt to replay the prepared transaction(s) twice, leading to a fatal error such as “lock is already held” in the startup process.
* Fix possible failure while promo... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
a6b3a9f0-d864-5f43-b248-31b1c1ded968 | changelog | postgresql | postgresql | 1312 | 10 | * Ensure that creation of the init fork of an unlogged index is WAL-logged (Heikki Linnakangas) [§](https://postgr.es/c/c50b869ed)
While an unlogged index's main data fork is not WAL-logged, its init fork should be, to ensure that we have a consistent state to restore the index to after a crash. This step was missed... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
53660801-d2e9-552e-8e0d-7bd730393178 | changelog | postgresql | postgresql | 1312 | 11 | * Avoid assertion failure when processing an empty statement via the extended query protocol in an already-aborted transaction (Tom Lane) [§](https://postgr.es/c/d1fc0f382)
* Fix `contrib/fuzzystrmatch`'s Soundex `difference()` function to handle empty input sanely (Alexander Lakhin, Tom Lane) [§](https://postgr.es/c/0... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
a8234c15-8a1c-58a5-b0d0-20c39e5ac6ff | changelog | postgresql | postgresql | 1312 | 12 | * Avoid useless double decompression of GiST index entries in `contrib/intarray` (Konstantin Knizhnik, Matthias van de Meent, Tom Lane) [§](https://postgr.es/c/7fffcc2ee)
* Ensure that `pg_index`.`indisreplident` is kept up-to-date in relation cache entries (Shruthi Gowda) [§](https://postgr.es/c/bdaaf1bf1)
This val... | large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
000fddc7-35a6-5d1f-8e23-a8f80df48030 | changelog | postgresql | postgresql | 1312 | 13 | [Return to the Release Notes Archive](/docs/release/)
[Next](/docs/release/13.13/)
| large_dataset/raw/changelog/postgresql_releases/postgresql_1312.md |
750f6f2d-cf8f-5c8d-8ec9-28a3d8bebb9b | changelog | postgresql | postgresql | 1313 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.13/
Version: 13.13
## PostgreSQL 13.13
| E.11. Release 13.13 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-14.html "E.10. Release 13.14") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
c0ad35f2-33f7-5596-8d0a-fb9686eaac34 | changelog | postgresql | postgresql | 1313 | 1 | However, several mistakes have been discovered that could lead to certain types of indexes yielding wrong search results. It is advisable to `REINDEX` potentially-affected indexes after installing this update. See the fourth and fifth changelog entries below.
Also, if you are upgrading from a version earlier than 13.1... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
ac50243e-fc88-5763-84e8-dde2d8f426bb | changelog | postgresql | postgresql | 1313 | 2 | When assigning new elements to array subscripts that are outside the current array bounds, an undetected integer overflow could occur in edge cases. Memory stomps that are potentially exploitable for arbitrary code execution are possible, and so is disclosure of server memory.
The PostgreSQL Project thanks Pedro G... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
db2221e3-f4cf-5284-8a07-11988cc69eda | changelog | postgresql | postgresql | 1313 | 3 | The documentation says that `pg_signal_backend` cannot issue signals to superuser-owned processes. It was able to signal these background processes, though, because they advertise a role OID of zero. Treat that as indicating superuser ownership. The security implications of cancelling one of these process types are f... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
d7afba32-77fe-5a4a-950c-95dacc32dc5b | changelog | postgresql | postgresql | 1313 | 4 | Fix a case where the location of a page downlink was incorrectly tracked, and introduce some logic to allow recovering from such situations rather than silently doing the wrong thing. This error could result in incorrect answers from subsequent index searches. It may be advisable to reindex all GiST indexes after ins... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
8f658412-02f1-5f0b-853c-e042d6c5985b | changelog | postgresql | postgresql | 1313 | 5 | * Fix partition step generation and runtime partition pruning for hash-partitioned tables with multiple partition keys (David Rowley) [§](https://postgr.es/c/890a73ba3) [§](https://postgr.es/c/45c4b2a3a)
Some cases involving an `IS NULL` condition on one of the partition keys could result in a crash.
* Fix edge case... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
82ede88b-2d22-5bea-b3e5-5e696cc765d2 | changelog | postgresql | postgresql | 1313 | 6 | * Throw the intended error if `pgrowlocks()` is applied to a partitioned table (David Rowley) [§](https://postgr.es/c/b3c8d1d0e)
Previously, a not-on-point complaint “only heap AM is supported” would be raised.
* Handle invalid indexes more cleanly in assorted SQL functions (Noah Misch) [§](https://postgr.es/c/123b0... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
6e44116f-b49f-5ab4-9e6a-cbbf0f9a76e4 | changelog | postgresql | postgresql | 1313 | 7 | * Fix over-allocation of the constructed `tsvector` in `tsvectorrecv()` (Denis Erokhin) [§](https://postgr.es/c/9da153846)
If the incoming vector includes position data, the binary receive function left wasted space (roughly equal to the size of the position data) in the finished `tsvector`. In extreme cases this co... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
5e2bd2ae-3b84-5086-a731-cbf3d363c0cc | changelog | postgresql | postgresql | 1313 | 8 | Instead of propagating the current transaction's properties to the new transaction, they propagated some previous transaction's properties.
* Avoid crash in `EXPLAIN` if a parameter marked to be displayed by `EXPLAIN` has a NULL boot-time value (Xing Guo, Aleksander Alekseev, Tom Lane) [§](https://postgr.es/c/137227c... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
f3a7add6-fb94-58bb-9032-ca94d5622bcb | changelog | postgresql | postgresql | 1313 | 9 | This fix avoids a race condition in which a child process that has been forked off by `system()`, but hasn't yet exec'd the intended child program, might receive and act on a signal intended for the parent server process. That would lead to duplicate cleanup actions being performed, which will not end well.
* Cope wi... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
8aeacdbf-bb48-55d3-b81a-4edc80ab0024 | changelog | postgresql | postgresql | 1313 | 10 | On 64-bit machines we will allow values of `track_activity_query_size` large enough to cause 32-bit overflow when multiplied by the allowed number of connections. The code actually allocating the per-backend local array was careless about this though, and allocated the array incorrectly.
* Fix briefly showing inconsi... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
26449647-8df5-5ade-8860-b1961e54cb2e | changelog | postgresql | postgresql | 1313 | 11 | * Track nesting depth correctly when inspecting `RECORD`-type Vars from outer query levels (Richard Guo) [§](https://postgr.es/c/c5b7f791d)
This oversight could lead to assertion failures, core dumps, or “bogus varno” errors.
* Avoid “record type has not been registered” failure when deparsing a view that contains r... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
e5f7bff0-d310-59b0-9743-2e30cf431b94 | changelog | postgresql | postgresql | 1313 | 12 | Previously this would be treated as a bogus-data condition, leading to the conclusion that we'd reached the end of WAL, which is incorrect and could lead to inconsistent WAL replay.
* Fix possible recovery failure due to trying to allocate memory based on a bogus WAL record length field (Thomas Munro, Michael Paquier... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
d15c2b9a-937e-5729-845c-f986a9934724 | changelog | postgresql | postgresql | 1313 | 13 | * Avoid doing plan cache revalidation of utility statements that do not receive interesting processing during parse analysis (Tom Lane) [§](https://postgr.es/c/27566bcf3)
Aside from saving a few cycles, this prevents failure after a cache invalidation for statements that must not set a snapshot, such as `SET TRANSAC... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
ef395af3-5efc-5571-8d20-0b7fd10ee0f5 | changelog | postgresql | postgresql | 1313 | 14 | This code violated the conditions required for crash safety by writing WAL before marking changed buffers dirty. No core code uses this function, but extensions do (`contrib/bloom` does, for example).
* Remove incorrect assertion in PL/Python exception handling (Alexander Lakhin) [§](https://postgr.es/c/35e8ba3e5)
* ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
790b8928-bc1c-5971-b374-d49018e9ffd8 | changelog | postgresql | postgresql | 1313 | 15 | * Avoid generating invalid temporary slot names in pg\_basebackup (Jelte Fennema) [§](https://postgr.es/c/6cdd7b805)
This has only been seen to occur when the server connection runs through pgbouncer.
* Avoid false “too many client connections” errors in pgbench on Windows (Noah Misch) [§](https://postgr.es/c/3895e9... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
f8c84588-de97-52ba-bb13-3a4f1b319f0b | changelog | postgresql | postgresql | 1313 | 16 | * Add support for LLVM 16 and 17 (Thomas Munro, Dmitry Dolgov) [§](https://postgr.es/c/53c4dabe1) [§](https://postgr.es/c/f28956b23) [§](https://postgr.es/c/981292c19) [§](https://postgr.es/c/7c070e224)
* Suppress assorted build-time warnings on recent macOS (Tom Lane) [§](https://postgr.es/c/1b64e374c) [§](https://pos... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
4f4b3655-4d09-53df-8006-cc80e7d12554 | changelog | postgresql | postgresql | 1313 | 17 | * Remove `PHOT` (Phoenix Islands Time) from the default timezone abbreviations list (Tom Lane) [§](https://postgr.es/c/d94612873)
Presence of this abbreviation in the default list can cause failures on recent Debian and Ubuntu releases, as they no longer install the underlying tzdb entry by default. Since this is a ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1313.md |
1ee16064-27be-5e72-a1e8-0c1b849b1ebc | changelog | postgresql | postgresql | 1314 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.14/
Version: 13.14
## PostgreSQL 13.14
| E.10. Release 13.14 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-15.html "E.9. Release 13.15") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
00d80278-21ac-5f27-aefa-492824600133 | changelog | postgresql | postgresql | 1314 | 1 | However, one bug was fixed that could have resulted in corruption of GIN indexes during concurrent updates. If you suspect such corruption, reindex affected indexes after installing this update.
Also, if you are upgrading from a version earlier than 13.13, see [Section E.11](release-13-13.html "E.11. Release 13.13").
... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
417b69be-a875-5084-8280-341ac3c162cc | changelog | postgresql | postgresql | 1314 | 2 | The only known exploit for this error does not work in PostgreSQL 16.0 and later, so it may be that v16 is not vulnerable in practice.
The PostgreSQL Project thanks Pedro Gallegos for reporting this problem. (CVE-2024-0985)
* Fix memory leak when performing JIT inlining (Andres Freund, Daniel Gustafsson) [§](https... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
6221d0f4-8404-53f9-be0a-a395a7e40a5c | changelog | postgresql | postgresql | 1314 | 3 | Some uncommon situations involving lateral references could create incorrect plans. Affected queries could produce wrong answers, or odd failures such as “variable not found in subplan target list”, or executor crashes.
* Fix incorrect wrapping of subquery output expressions in PlaceHolderVars (Tom Lane) [§](https://... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
1739706b-da34-50c8-9566-4104db40c295 | changelog | postgresql | postgresql | 1314 | 4 | * Avoid assertion failures in `heap_update()` and `heap_delete()` when a tuple to be updated by a foreign-key enforcement trigger fails the extra visibility crosscheck (Alexander Lakhin) [§](https://postgr.es/c/e434d3620)
This error had no impact in non-assert builds.
* Fix possible failure during `ALTER TABLE ADD C... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
be46dd76-9a0a-550b-8ce1-d3c2bb8c5dc2 | changelog | postgresql | postgresql | 1314 | 5 | * Fix function volatility checking for `GENERATED` and `DEFAULT` expressions (Tom Lane) [§](https://postgr.es/c/5c11104c7)
These places could fail to detect insertion of a volatile function default-argument expression, or decide that a polymorphic function is volatile although it is actually immutable on the datatyp... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
e3f9318f-1420-5a9a-9a72-9b142b52501c | changelog | postgresql | postgresql | 1314 | 6 | We expand any out-of-line fields in a catalog tuple before inserting it into the catalog caches. That involves database access which might cause invalidation of catalog cache entries — but the new entry isn't in the cache yet, so we would miss noticing that it should get invalidated. The result is a race condition in... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
0ab09a32-a944-5da4-9bab-ba9f66edb504 | changelog | postgresql | postgresql | 1314 | 7 | 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/428770aad)
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_1314.md |
66184598-c1a4-5527-a7df-0ddfd95efef3 | changelog | postgresql | postgresql | 1314 | 8 | * Fix insufficient locking when cleaning up an incomplete split of a GIN index's internal page (Fei Changhong, Heikki Linnakangas) [§](https://postgr.es/c/e74c91665)
The code tried to do this with shared rather than exclusive lock on the buffer. This could lead to index corruption if two processes attempted the clea... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
8cf4eb21-4286-5e92-92da-19f184917e35 | changelog | postgresql | postgresql | 1314 | 9 | 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 incorrectly processing dead index tuples during subtransactions (Fei Changhong) [§](https://postgr.e... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
29c04bca-6c5e-5a50-b72e-7ea0f5518321 | changelog | postgresql | postgresql | 1314 | 10 | One edge of the deadlock loop did not involve a lock wait, so the deadlock went undetected and would persist until manual intervention.
* Return the correct status code when a new client disconnects without responding to the server's password challenge (Liu Lang, Tom Lane) [§](https://postgr.es/c/5810888c5)
In som... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
fd157a39-1f71-5c2a-8925-f0e1aae36324 | changelog | postgresql | postgresql | 1314 | 11 | If `errno` isn't set, assume the cause of the reported failure is read EOF. This fixes rare cases of strange error reports like “could not accept SSL connection: Success”.
* Report ENOMEM errors from file-related system calls as `ERRCODE_OUT_OF_MEMORY`, not `ERRCODE_INTERNAL_ERROR` (Alexander Kuzmenkov) [§](https://p... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
f083b660-3835-5c62-be8b-665aab94eefc | changelog | postgresql | postgresql | 1314 | 12 | 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_1314.md |
42b0db21-9a98-5041-9573-2735783272c2 | changelog | postgresql | postgresql | 1314 | 13 | * Report a better error when `contrib/pgstattuple`'s `pgstathashindex()` function is applied to a partitioned hash index (Alexander Lakhin) [§](https://postgr.es/c/b4c1d255c)
* On Windows, suppress autorun options when launching subprocesses in pg\_ctl and pg\_regress (Kyotaro Horiguchi) [§](https://postgr.es/c/c8aab69... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
a8ce6d85-3f20-565e-9b96-c6914a5d9837 | changelog | postgresql | postgresql | 1314 | 14 | Our preferred compiler options provoke warnings about constructs appearing in recent versions of Python's header files. When using gcc, we can suppress these warnings with a pragma.
* Avoid deprecation warning when compiling with LLVM 18 (Thomas Munro) [§](https://postgr.es/c/70a82f40a)
* Update time zone data files ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1314.md |
5461eea0-7820-54f0-aebb-445af486bdcc | changelog | postgresql | postgresql | 1315 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.15/
Version: 13.15
## PostgreSQL 13.15
| E.9. Release 13.15 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-16.html "E.8. Release 13.16") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
77734eab-883e-51fb-a0b2-68cc784bc71f | changelog | postgresql | postgresql | 1315 | 1 | ### E.9.2. Changes
* Fix `INSERT` from multiple `VALUES` rows into a target column that is a domain over an array or composite type (Tom Lane) [§](https://postgr.es/c/0200398dd)
Such cases would either fail with surprising complaints about mismatched datatypes, or insert unexpected coercions that could lead to odd ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
3edb576c-5f53-5ed4-8247-c6c7ffc986ce | changelog | postgresql | postgresql | 1315 | 2 | * Fix `EXPLAIN`'s counting of heap pages accessed by a bitmap heap scan (Melanie Plageman) [§](https://postgr.es/c/992189a3e)
Previously, heap pages that contain no visible tuples were not counted; but it seems more consistent to count all pages returned by the bitmap index scan.
* Avoid deadlock during removal of o... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
12ac321c-6f4b-5b00-9adb-fdbc38237860 | changelog | postgresql | postgresql | 1315 | 3 | `VACUUM`'s computation of per-database frozen-XID values from per-relation values could get confused by a concurrent update of those values by another `VACUUM`.
* Disallow converting a table to a view within an outer SQL command that is using that table (Tom Lane) [§](https://postgr.es/c/1ee22d1e8)
This avoids pos... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
fd520cce-0643-592a-bee5-b5a258ab57af | changelog | postgresql | postgresql | 1315 | 4 | When a plain aggregate is used as a window function, and the window frame start is specified as `UNBOUNDED PRECEDING`, the frame's head cannot move so we do not need to use the special (and more expensive) moving-aggregate mode. This optimization was intended all along, but due to a coding error it never triggered.
*... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
b12e1107-b3ca-5ecb-a425-e71d004bdaf7 | changelog | postgresql | postgresql | 1315 | 5 | The output columns of such a function call must be defined by an `AS` clause that specifies the column names and data types. If the actual function output value doesn't match that, an error is supposed to be thrown at runtime. However, some code paths would examine the actual value prematurely, and potentially issue ... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
81e1ad50-44e2-573c-83b5-8b6dd169db99 | changelog | postgresql | postgresql | 1315 | 6 | * Avoid race condition in `pg_get_expr()` (Tom Lane) [§](https://postgr.es/c/ceb224b62)
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_1315.md |
336e179d-4ca5-5964-9497-2fb53ccbb954 | changelog | postgresql | postgresql | 1315 | 7 | * Ensure that index-only scans on `name` columns return a fully-padded value (David Rowley) [§](https://postgr.es/c/0a34bcd0c)
The value physically stored in the index is truncated, and previously a pointer to that value was returned to callers. This provoked complaints when testing under valgrind. In theory it coul... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
9042dc06-f8f0-5f13-b8c7-16bf2ccf301a | changelog | postgresql | postgresql | 1315 | 8 | System-reported errors passed through by OpenSSL were reported with a numeric error code rather than anything readable.
* Avoid concurrent calls to `bindtextdomain()` in libpq and ecpglib (Tom Lane) [§](https://postgr.es/c/8c5da20db) [§](https://postgr.es/c/67f8cf0f0)
Although GNU gettext's implementation seems to... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
ec1e9047-b212-5cb6-95a5-f45f66f88270 | changelog | postgresql | postgresql | 1315 | 9 | * Fix pg\_dumpall so that role comments, if present, will be dumped regardless of the setting of `--no-role-passwords` (Daniel Gustafsson, Álvaro Herrera) [§](https://postgr.es/c/affc46b76) [§](https://postgr.es/c/d5c6affb8)
* Fix PL/pgSQL's parsing of single-line comments (`--`-style comments) following expressions (E... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
f6052079-8e29-5903-a24a-36d3819cfbc5 | changelog | postgresql | postgresql | 1315 | 10 | * In `contrib/postgres_fdw`, avoid emitting requests to sort by a constant (David Rowley) [§](https://postgr.es/c/20b85b3da)
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, lead... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
c507b9f8-00d7-54da-858d-b95523c8dfdd | changelog | postgresql | postgresql | 1315 | 11 | * Fix incompatibility with LLVM 18 (Thomas Munro, Dmitry Dolgov) [§](https://postgr.es/c/4f90750b5)
* Allow `make check` to work with the musl C library (Thomas Munro, Bruce Momjian, Tom Lane) [§](https://postgr.es/c/243e99532)
---
| | | |
| --- | --- | --- |
| [Prev](release-13-16.html "E.8. Release 13.16") | [Up... | large_dataset/raw/changelog/postgresql_releases/postgresql_1315.md |
0decc5d2-528e-5694-ac00-161a94825623 | changelog | postgresql | postgresql | 1316 | 0 | # Release Notes
Source: https://www.postgresql.org/docs/release/13.16/
Version: 13.16
## PostgreSQL 13.16
| E.8. Release 13.16 | | | | |
| --- | --- | --- | --- | --- |
| [Prev](release-13-17.html "E.7. Release 13.17") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
2e49d8e5-e3d9-5d64-b3fa-43d9a7c6efb9 | changelog | postgresql | postgresql | 1316 | 1 | ### E.8.2. Changes
* Prevent unauthorized code execution during pg\_dump (Masahiko Sawada) [§](https://postgr.es/c/bbc94abf6)
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_1316.md |
f9090d09-e757-545c-a0bd-02d0cdbc2756 | changelog | postgresql | postgresql | 1316 | 2 | * Fix failure after attaching a table as a partition, if the table had previously had inheritance children (Álvaro Herrera) [§](https://postgr.es/c/ed7430975)
* Fix `ALTER TABLE DETACH PARTITION` for cases involving inconsistent index-based constraints (Álvaro Herrera, Tender Wang) [§](https://postgr.es/c/057482569) [§... | large_dataset/raw/changelog/postgresql_releases/postgresql_1316.md |
40aaaa89-6673-5039-b55a-a941ff35b3c1 | changelog | postgresql | postgresql | 1316 | 3 | 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_1316.md |
0b3c03ad-822f-5da6-a168-a5dd647be249 | changelog | postgresql | postgresql | 1316 | 4 | 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_1316.md |
293a4087-837a-5324-aa8a-b88b56e5f1c5 | changelog | postgresql | postgresql | 1316 | 5 | * Detect another integer overflow case while computing new array dimensions (Joseph Koshakow) [§](https://postgr.es/c/6c1b71bc6)
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_1316.md |
13a73a9c-3603-553c-98a0-1d57250f9ba7 | changelog | postgresql | postgresql | 1316 | 6 | 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_1316.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.