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
07b65f8d-7cfd-5a83-a6d7-0ae98dfbb7f4
changelog
postgresql
postgresql
161
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_161.md
c3471245-f680-5dfd-a1a3-bff7f6abf386
changelog
postgresql
postgresql
161
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_161.md
ae6b3451-3094-5661-87f4-51e83f26cc12
changelog
postgresql
postgresql
161
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_161.md
b0f2a795-b5b3-5e96-85a6-625106966197
changelog
postgresql
postgresql
161
5
* Process `date` values more sanely in BRIN `datetime_minmax_multi_ops` indexes (Tomas Vondra) [§](https://postgr.es/c/e7965226d) The distance calculation for dates was backward, causing poor decisions about which entries to merge. The index still produces correct results, but is much less efficient than it should b...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
e1b83997-2c48-57f1-9b4a-582397b13b87
changelog
postgresql
postgresql
161
6
Infinities were mistakenly treated as having distance zero rather than a large distance from other values, causing poor decisions about which entries to merge. Also, finite-but-very-large values (near the endpoints of the representable timestamp range) could result in internal overflows, again causing poor decisions....
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
b5d97d00-692e-5897-aa26-4a1de0d73255
changelog
postgresql
postgresql
161
7
* Fix partition step generation and runtime partition pruning for hash-partitioned tables with multiple partition keys (David Rowley) [§](https://postgr.es/c/595db9e9c) [§](https://postgr.es/c/6352f1627) Some cases involving an `IS NULL` condition on one of the partition keys could result in a crash. * Fix inconsist...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
61a5510c-f806-5ed6-83ae-3b4ff825d460
changelog
postgresql
postgresql
161
8
* Correctly identify the target table in an inherited `UPDATE`/`DELETE`/`MERGE` even when the parent table is excluded by constraints (Amit Langote, Tom Lane) [§](https://postgr.es/c/b1444a09d) [§](https://postgr.es/c/178ee1d85) [§](https://postgr.es/c/2bf99b48d) If the initially-named table is excluded by constrain...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
5861cf17-8135-5e2a-8e6f-af2548a7c184
changelog
postgresql
postgresql
161
9
When restoring an indexscan to a previously marked position, the code could miss required setup steps if the scan had advanced exactly to the end of the matches for a ScalarArrayOpExpr (that is, an `indexcol = ANY(ARRAY[])`) clause. This could result in missing some rows that should have been fetched. * Fix intra-que...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
4d408423-f54f-5f39-aef9-1b3bfb84b2ca
changelog
postgresql
postgresql
161
10
* Throw the intended error if `pgrowlocks()` is applied to a partitioned table (David Rowley) [§](https://postgr.es/c/a98f01c93) 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/1a368...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
d16cbef1-bff5-537b-98c2-114875f7c66a
changelog
postgresql
postgresql
161
11
* Fix over-allocation of the constructed `tsvector` in `tsvectorrecv()` (Denis Erokhin) [§](https://postgr.es/c/5c34a7374) 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_161.md
406a44dd-70a7-5d1e-861d-88d4ae5b4b4c
changelog
postgresql
postgresql
161
12
Improper sharing of insertion state across partitions could result in failures during `COPY FROM`, typically manifesting as “could not read block NNNN in file XXXX: read only 0 of 8192 bytes” errors. * In `COPY FROM`, avoid evaluating column default values that will not be needed by the command (Laurenz Albe) [§](htt...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
16b466c3-d7ca-5464-9ac1-8186e94ff3e0
changelog
postgresql
postgresql
161
13
* 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/82063edd4) No built-in parameter fits this description, but an extension could define such a parameter. * Ensure we have a snapshot while dropping...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
967a605e-3fb5-5af8-a28b-38f929299896
changelog
postgresql
postgresql
161
14
* Cope with torn reads of `pg_control` in frontend programs (Thomas Munro) [§](https://postgr.es/c/5725e4ebe) On some file systems, reading `pg_control` may not be an atomic action when the server concurrently writes that file. This is detectable via a bad CRC. Retry a few times to see if the file becomes valid befo...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
272c86f2-3478-50bd-8d3c-85713c3bbd7f
changelog
postgresql
postgresql
161
15
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_161.md
411a73bf-f043-5808-bc0c-e6ef1b243bc2
changelog
postgresql
postgresql
161
16
* Fix statistics tracking of temporary-table extensions (Karina Litskevich, Andres Freund) [§](https://postgr.es/c/c4758649b) These were counted as normal-table writes when they should be counted as temp-table writes. * When `track_io_timing` is enabled, include the time taken by relation extension operations as wri...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
438cdf6f-324f-58db-88a4-ac0889620dde
changelog
postgresql
postgresql
161
17
* Track nesting depth correctly when inspecting `RECORD`-type Vars from outer query levels (Richard Guo) [§](https://postgr.es/c/53630f12d) This oversight could lead to assertion failures, core dumps, or “bogus varno” errors. * Track hash function and negator function dependencies of ScalarArrayOpExpr plan nodes (Da...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
fca4ef90-fc63-5133-b7dd-5ff6f11e7ec1
changelog
postgresql
postgresql
161
18
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_161.md
d814d2c6-2172-50f0-836c-c571d245991f
changelog
postgresql
postgresql
161
19
* Fix pg\_dump to dump the new `run_as_owner` option of subscriptions (Philip Warner) [§](https://postgr.es/c/67738dbf9) Due to this oversight, subscriptions would always be restored with `run_as_owner` set to `false`, which is not equivalent to their behavior in pre-v16 releases. * Fix pg\_restore so that selective...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
39c17593-b50d-5355-8f6d-e7b1a061f4a6
changelog
postgresql
postgresql
161
20
* Fix vacuumdb's handling of multiple `-N` switches (Nathan Bossart, Kuwamura Masaki) [§](https://postgr.es/c/2143d96dc) Multiple `-N` switches should exclude tables in multiple schemas, but in fact excluded nothing due to faulty construction of a generated query. * Fix vacuumdb to honor its `--buffer-usage-limit` o...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
4c932069-6d65-535a-acb3-3c6c2a8f1a44
changelog
postgresql
postgresql
161
21
* Fix failure of `contrib/btree_gin` indexes on `interval` columns, when an indexscan using the `<` or `<=` operator is performed (Dean Rasheed) [§](https://postgr.es/c/ab73a37e9) Such an indexscan failed to return all the entries it should. * Add support for LLVM 16 and 17 (Thomas Munro, Dmitry Dolgov) [§](https://...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
71df6b0c-b2a4-5c2e-8b68-ebe386da6afd
changelog
postgresql
postgresql
161
22
* When building `contrib/unaccent`'s rules file, fall back to using `python` if `--with-python` was not given and make variable `PYTHON` was not set (Japin Li) [§](https://postgr.es/c/641db601b) * Remove `PHOT` (Phoenix Islands Time) from the default timezone abbreviations list (Tom Lane) [§](https://postgr.es/c/d1537a...
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
90b5447c-178d-5a6d-bd23-33ee2fc11897
changelog
postgresql
postgresql
161
23
[Return to the Release Notes Archive](/docs/release/) [Next](/docs/release/16.2/)
large_dataset/raw/changelog/postgresql_releases/postgresql_161.md
c6c552ae-7840-562f-96e6-dd1944c091de
changelog
postgresql
postgresql
1610
0
# Release Notes Source: https://www.postgresql.org/docs/release/16.10/ Version: 16.10 ## PostgreSQL 16.10 | E.2. Release 16.10 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-16-11.html "E.1. Release 16.11") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
c1bcb35e-998e-5863-8b14-64e8cb96b18a
changelog
postgresql
postgresql
1610
1
However, if you have any BRIN `numeric_minmax_multi_ops` indexes, it is advisable to reindex them after updating. See the fourth changelog entry below. Also, if you are upgrading from a version earlier than 16.9, see [Section E.3](release-16-9.html "E.3. Release 16.9"). ### E.2.2. Changes [#](#RELEASE-16-10-CHANGES) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
779e12c9-33e7-5d29-a611-2831b79ede28
changelog
postgresql
postgresql
1610
2
The other gap applies to cases where the query accesses a table via a view, and the view owner has permissions to read the underlying table but the calling user does not have permissions on the view. The view owner's permissions satisfied the security checks, and the leaky function would get applied to the underlying...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
f887e580-b973-561a-b00f-f69ff12293d1
changelog
postgresql
postgresql
1610
3
Since dump/restore operations typically involve running SQL commands as superuser, the target database installation must trust the source server. However, it does not follow that the operating system user who executes psql to perform the restore should have to trust the source server. The risk here is that an attacke...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
760e4d1d-bc6e-551e-9a54-6ea4102fb199
changelog
postgresql
postgresql
1610
4
* Convert newlines to spaces in names included in comments in pg\_dump output (Noah Misch) [§](https://postgr.es/c/850caae60) Object names containing newlines offered the ability to inject arbitrary SQL commands into the output script. (Without the preceding fix, injection of psql meta-commands would also be possibl...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
bee5e075-cd7e-525f-9f85-2b4cb967ced8
changelog
postgresql
postgresql
1610
5
The results were sometimes wrong on 64-bit platforms, and wildly wrong on 32-bit platforms. This did not produce obvious failures because the logic is only used to choose how to merge values into ranges; at worst the index would become inefficient and bloated. Nonetheless it's recommended to reindex any BRIN indexes ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
1ad73740-b4e3-5eea-8c57-1fe61cccf345
changelog
postgresql
postgresql
1610
6
Insertions into such a target table could crash or produce incorrect query results due to failing to handle `WITH CHECK OPTION` and `RETURNING` actions. * Allow tables with statement-level triggers to become partitions or inheritance children (Etsuro Fujita) [§](https://postgr.es/c/3863c6fb6) We do not allow parti...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
e81b9fd5-6683-561e-9b6d-bac508d831c3
changelog
postgresql
postgresql
1610
7
We do not support triggers with transition tables on foreign tables. However, the case of a partition or inheritance child that is a foreign table was overlooked. If the parent has such a trigger, incorrect transition tuples were collected from the foreign child. Instead throw an error, reporting that the case is not...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
b821f8f7-8313-57e8-82ef-5395ac7888e7
changelog
postgresql
postgresql
1610
8
* Shorten the race condition window for creating indexes with conflicting names (Tom Lane) [§](https://postgr.es/c/1e24ea160) When choosing an auto-generated name for an index, avoid conflicting with not-yet-committed `pg_class` rows as well as fully-valid ones. This avoids possibly choosing the same name as some co...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
fbf46b12-5df1-5904-b7f5-23e33da23457
changelog
postgresql
postgresql
1610
9
* Fix processing of character classes within `SIMILAR TO` regular expressions (Laurenz Albe) [§](https://postgr.es/c/e9e535d61) [§](https://postgr.es/c/52d08620e) The code that translates `SIMILAR TO` pattern matching expressions to POSIX-style regular expressions did not consider that square brackets can be nested....
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
e4eb7241-5531-53cd-903d-fc85982d07a9
changelog
postgresql
postgresql
1610
10
With very large `shared_buffers` settings, it was possible for the checkpointer to attempt to allocate more than 1GB for fsync requests, leading to failure and an infinite loop. Clamp the queue size to prevent this scenario. * Avoid infinite wait in logical decoding when reading a partially-written WAL record (Vignes...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
40c957f0-9753-5a8b-a790-b0625be886de
changelog
postgresql
postgresql
1610
11
The previous quoting rule was locale-sensitive, which could lead to portability problems when transferring `aclitem` values across installations. (pg\_dump does not do that, but other tools might.) To ensure consistency, always quote non-ASCII characters in `aclitem` output; but to preserve backward compatibility, ne...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
15fd1cd0-0351-5352-af31-0e0be5f49ccb
changelog
postgresql
postgresql
1610
12
* Avoid re-distributing cache invalidation messages from other transactions during logical replication (vignesh C) [§](https://postgr.es/c/b2ae07720) Our previous round of minor releases included a bug fix to ensure that replication receiver processes would respond to cross-process cache invalidation messages, preve...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
c4de557c-3a4c-5357-a7ce-89904e2d65e5
changelog
postgresql
postgresql
1610
13
If a replication slot's restart point is advanced while a checkpoint is in progress, no-longer-needed WAL segments could get removed too soon, leading to recovery failure if the database crashes immediately afterwards. Fix by keeping them for one additional checkpoint cycle. * Never move a replication slot's confirme...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
8ef70f8b-8d4a-5e46-b4a9-271c8b711778
changelog
postgresql
postgresql
1610
14
In some cases the logical replication launcher could sleep considerably longer than the configured `wal_retrieve_retry_interval` before launching a new worker. * Fix use-after-free during logical replication of `INSERT ... ON CONFLICT` (Ethan Mertz, Michael Paquier) [§](https://postgr.es/c/ec96e8812) This could re...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
05580875-a179-5024-bad3-5784d6e6e860
changelog
postgresql
postgresql
1610
15
* Do not let cascading logical WAL senders try to send data that's beyond what has been replayed on their standby server (Alexey Makhmutov) [§](https://postgr.es/c/5e6d561bc) This avoids a situation where such WAL senders could get stuck at standby server shutdown, waiting for replay work that will not happen becaus...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
fbf4dd14-63a3-5496-8341-a3871b256b4a
changelog
postgresql
postgresql
1610
16
* Avoid assertion failure during cross-table constraint updates (Tom Lane, Jian He) [§](https://postgr.es/c/c15798cf9) [§](https://postgr.es/c/d36980b71) * Remove faulty assertion that a command tag must have been determined by the end of `PortalRunMulti()` (Álvaro Herrera) [§](https://postgr.es/c/4871c1e9c) This fa...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
4da8b19a-c8d3-5093-bd0c-1015db326c75
changelog
postgresql
postgresql
1610
17
* Fix edge-case resource leaks in PL/Python error reporting (Tom Lane) [§](https://postgr.es/c/5c7fd5976) [§](https://postgr.es/c/ecc8fd2b7) An out-of-memory failure while reporting an error from Python could result in failure to drop reference counts on Python objects, leading to session-lifespan memory leakage. * ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
ab43ff3d-fcaa-54bd-ab96-0f11df85542a
changelog
postgresql
postgresql
1610
18
Larger authentication packets are needed for Active Directory users who belong to many AD groups. This limitation manifested in connection failures with unintelligible error messages, typically “GSSAPI context establishment error: The routine must be called again to complete its function: Unknown error”. * Fix timing...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
b042a754-c842-54e6-b634-bfaeca36ba80
changelog
postgresql
postgresql
1610
19
The same completions were offered for both `COPY FROM` and `COPY TO`, although some options are only valid for one case or the other. Distinguish these cases to provide more accurate suggestions. * Avoid assertion failure in pgbench when multiple pipeline sync messages are received (Fujii Masao) [§](https://postgr.es...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
b7fc15c3-440b-5012-ad25-7cff3b157a28
changelog
postgresql
postgresql
1610
20
pg\_dump sorts objects by their logical names before performing dependency-driven reordering. This sort did not account for the full unique key identifying certain object types such as rules and constraints, and thus it could produce dissimilar sort orders for logically-identical databases. That made it difficult to ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
4594ee73-3c34-5a8b-a6ce-c0a19b225e8e
changelog
postgresql
postgresql
1610
21
* Avoid assertion failure if `track_commit_timestamp` is enabled during initdb (Hayato Kuroda, Andy Fan) [§](https://postgr.es/c/7e7059abf) * Fix pg\_waldump to show information about dropped statistics in `PREPARE TRANSACTION` WAL records (Daniil Davydov) [§](https://postgr.es/c/0d2063585) * Avoid possible leak of the...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
46d2bac0-0788-592d-a9c7-69c4e362ea3a
changelog
postgresql
postgresql
1610
22
* In `contrib/pg_stat_statements`, avoid leaving gaps in the set of parameter numbers used in a normalized query (Sami Imseih) [§](https://postgr.es/c/7e8b44f4e) * Fix memory leakage in `contrib/postgres_fdw`'s DirectModify methods (Tom Lane) [§](https://postgr.es/c/2b92dc4ee) The `PGresult` holding the results of t...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
dadbfdea-b099-5f61-b7b5-344a15abf013
changelog
postgresql
postgresql
1610
23
* Fix configure's checks for `__cpuid()` and `__cpuidex()` (Lukas Fittl, Michael Paquier) [§](https://postgr.es/c/c1984be23) configure failed to detect these Windows-specific functions, so that they would not be used, leading to slower-than-necessary CRC computations since the availability of hardware instructions c...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
1d811a66-d763-59a4-9881-11b5d1e28301
changelog
postgresql
postgresql
1610
24
Fix assumptions about `IOV_MAX` and `O_RDONLY` that don't hold on Hurd. * Make our usage of `memset_s()` conform strictly to the C11 standard (Tom Lane) [§](https://postgr.es/c/253cf661c) [§](https://postgr.es/c/4b53cb493) This avoids compile failures on some platforms. * Silence compatibility warning when using M...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
09246a90-fe68-52fc-9754-3412bd0ae48c
changelog
postgresql
postgresql
1610
25
PostgreSQL header files generally need to be wrapped in `extern "C" { ... }` in order to be included in extensions written in C++. This failed for `pg_locale.h` because of its use of libicu headers, but we can work around that by suppressing C++-only declarations in those headers. C++ extensions that want to use libi...
large_dataset/raw/changelog/postgresql_releases/postgresql_1610.md
69c92043-4a95-5a15-9cfe-6bdff0c85a16
changelog
postgresql
postgresql
1611
0
# Release Notes Source: https://www.postgresql.org/docs/release/16.11/ Version: 16.11 ## PostgreSQL 16.11 | E.1. Release 16.11 | | | | | | --- | --- | --- | --- | --- | | [Prev](release.html "Appendix E. Release Notes") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
cb8bb526-d519-5614-bf29-9204a1ec8adc
changelog
postgresql
postgresql
1611
1
However, if you are upgrading from a version earlier than 16.10, see [Section E.2](release-16-10.html "E.2. Release 16.10"). ### E.1.2. Changes [#](#RELEASE-16-11-CHANGES) * Check for `CREATE` privileges on the schema in `CREATE STATISTICS` (Jelte Fennema-Nio) [§](https://postgr.es/c/d20abb587) This omission allow...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
da8b5b44-27c1-5afb-982b-cf017b34aad5
changelog
postgresql
postgresql
1611
2
The PostgreSQL Project thanks Aleksey Solovev of Positive Technologies for reporting this problem. (CVE-2025-12818) * Correctly treat JSON constructor expressions, such as `JSON_OBJECT()`, as non-strict (Tender Wang, Richard Guo) [§](https://postgr.es/c/62397bb18) In some cases these expressions can yield a non-nu...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
b7a32a72-7f22-53b2-bb01-9642e31d22db
changelog
postgresql
postgresql
1611
3
* Fix parsing of aggregate functions whose arguments contain a sub-select with a `FROM` reference to a CTE outside the aggregate function (Tom Lane) [§](https://postgr.es/c/7df74e635) Such a CTE reference must act like a outer-level column reference when determining the aggregate's semantic level; but it was not bei...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
7df74f37-4df2-54c0-8583-180f2b5ff72b
changelog
postgresql
postgresql
1611
4
GIN can handle scan conditions that can reject non-matching entries but are not useful for searching for relevant entries, for example a `tsquery` clause like `!term`. But such a condition must not be first in the array of scan conditions. The code failed to ensure that in all cases, with the result that a query havi...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
2d0a60ea-99d7-5d9c-b4ce-da704a460854
changelog
postgresql
postgresql
1611
5
* Fix integer-overflow hazard in BRIN index scans when the table contains close to 232 pages (Sunil S) [§](https://postgr.es/c/ef915bf93) This oversight could result in an infinite loop or scanning of unneeded table pages. * Fix incorrect zero-extension of stored values in JIT-generated tuple deforming code (David R...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
caed7fa2-0836-562a-b745-5592e62a705f
changelog
postgresql
postgresql
1611
6
* Add missing EvalPlanQual rechecks for TID Scan and TID Range Scan plan nodes (Sophie Alpert, David Rowley) [§](https://postgr.es/c/ba0203880) [§](https://postgr.es/c/d6539f88b) This omission led to possibly not rechecking a condition on `ctid` during concurrent-update situations, causing the update's behavior to v...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
a0bc1d0d-75a3-5ff9-a55f-77443884e397
changelog
postgresql
postgresql
1611
7
`ALTER TABLE DETACH PARTITION CONCURRENTLY` was written to add a copy of the partitioning constraint to the now-detached partition. This was misguided, partially because non-concurrent `DETACH` doesn't do that, but mostly because in the case of hash partitioning the constraint expression contains references to the pa...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
15ab8ec5-46b9-5f45-af09-af5698ec3f94
changelog
postgresql
postgresql
1611
8
Previously, incorrect behavior or an obscure error message resulted from attempting to reference such a column, since generated columns have not yet been computed at the point where `WHERE` filtering is done. * Fix visibility checking for statistics objects in `pg_temp` (Noah Misch) [§](https://postgr.es/c/ab16418ee)...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
ba5ee6d9-cc55-59a4-b2d4-0d33fc59c05f
changelog
postgresql
postgresql
1611
9
Any memory consumed by the hash functions used for hashing tuples constituted a query-lifespan memory leak. One way that could happen is if the values being hashed require de-toasting. * Fix minor memory leak during WAL replay of database creation (Nathan Bossart) [§](https://postgr.es/c/c72b5c536) * Fix corruption o...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
9de64d8b-b9ed-53e8-91d0-c0eeae5bcadc
changelog
postgresql
postgresql
1611
10
* Add missing replica identity checks in `MERGE` and `INSERT ... ON CONFLICT DO UPDATE` (Zhijie Hou) [§](https://postgr.es/c/421d7a157) [§](https://postgr.es/c/0c4d5a45d) [§](https://postgr.es/c/d37694b97) If `MERGE` may require update or delete actions, and the target table publishes updates or deletes, insist that...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
e30f4143-ab09-5b03-8434-d8354c86f76f
changelog
postgresql
postgresql
1611
11
* Avoid duplicative log messages about invalid `primary_slot_name` settings (Fujii Masao) [§](https://postgr.es/c/4fd916eab) * Remove the unfinished slot state file after failing to write a replication slot's state to disk (Michael Paquier) [§](https://postgr.es/c/bfdd1a12d) Previously, a failure such as out-of-disk...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
4a0510ae-2531-5809-96dd-145f7d460d0e
changelog
postgresql
postgresql
1611
12
During a timeline change, a standby server's WAL receiver should remain alive, waiting for a new WAL streaming start point. Instead it was repeatedly shutting down and immediately getting restarted, which could confuse status monitoring code. * Avoid failures in logical replication due to chance collisions of file nu...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
1090bff6-6c48-5d6d-b621-ebc9d47f801d
changelog
postgresql
postgresql
1611
13
An error during logical decoding could result in crashes in subsequent logical decoding attempts in the same session. The case is only reachable when pgoutput is invoked via SQL functions. * Avoid unnecessary invalidation of logical replication slots (Bertrand Drouvot) [§](https://postgr.es/c/e3714dc05) * Avoid asser...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
bd53b4b7-16b9-528e-80c5-6ff84d5411c6
changelog
postgresql
postgresql
1611
14
If the pre-existing set has fewer semaphores than we asked for, these platforms return EINVAL not EEXIST as our code expected, resulting in failure to start the database. * Avoid crash when attempting to test PostgreSQL with certain libsanitizer options (Emmanuel Sibi, Jacob Champion) [§](https://postgr.es/c/c775bf04...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
3d5c6395-70ef-50f7-a850-0cd1b4bf6d6a
changelog
postgresql
postgresql
1611
15
On platforms where `char` is considered signed, the output included unsightly `\xffffff` decoration. * Fix libpq's handling of socket-related errors on Windows within its GSSAPI logic (Ning Wu, Tom Lane) [§](https://postgr.es/c/46c4478db) The code for encrypting/decrypting transmitted data using GSSAPI did not cor...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
1360fcd9-b7b5-5712-8fd9-24e94e3bf578
changelog
postgresql
postgresql
1611
16
* In pg\_dump, label comments for separately-dumped domain constraints with the proper dependency (Noah Misch) [§](https://postgr.es/c/3cf328eca) This error could lead to parallel pg\_restore attempting to create the comment before the constraint itself has been restored. * In pg\_restore, skip comments and security...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
0aff0fb3-c915-5f48-b7b8-dc989313b61d
changelog
postgresql
postgresql
1611
17
Error checking was missing or incorrect in several places, and there were also portability issues that would manifest on big-endian hardware. These problems had been missed because this code is only used to read compressed TOC files within directory-format dumps. pg\_dump never produces such a dump; the case can be r...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
ac35460f-a519-5f7a-ae9d-99a85f8bd3c3
changelog
postgresql
postgresql
1611
18
* Ensure that `contrib/pg_buffercache` functions can be canceled (Satyanarayana Narlapuram, Yuhang Qiu) [§](https://postgr.es/c/815fcfb20) Some code paths were capable of running for a long time without checking for interrupts. * Fix `contrib/pg_prewarm`'s privilege checks for indexes (Ayush Vatsa, Nathan Bossart) [...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
c9a931aa-4bf4-516b-8c82-69c3129d26c3
changelog
postgresql
postgresql
1611
19
Count all-zero pages as free space, and ignore pages that are invalid according to a check of the page's special-space size. The code for btree indexes already counted all-zero pages as free, but the hash and gist code would error out, which has been found to be much less user-friendly. Similarly, make all three case...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
79e4bbc0-466d-5338-968d-393d4287e328
changelog
postgresql
postgresql
1611
20
* When building with meson, apply the same special optimization flags for `numeric.c` and `checksum.c` as the makefile build does (Nathan Bossart, Jeff Davis) [§](https://postgr.es/c/509c77929) [§](https://postgr.es/c/2de24ca6c) Use `-ftree-vectorize` for both files, as well as `-funroll-loops` for `checksum.c`, to ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1611.md
b6ac5fa8-d90e-55fc-af5b-77e72556ad80
changelog
postgresql
postgresql
162
0
# Release Notes Source: https://www.postgresql.org/docs/release/16.2/ Version: 16.2 ## PostgreSQL 16.2 | E.10. Release 16.2 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-16-3.html "E.9. Release 16.3") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postg...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
cff5cbd9-da9f-57f7-8c46-c603ad0a2792
changelog
postgresql
postgresql
162
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 16.1, see [Section E.11](release-16-1.html "E.11. Release 16.1"). ##...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
70f93a64-8177-5bb9-969d-5257a5a07716
changelog
postgresql
postgresql
162
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_162.md
44109751-b1c6-529a-8c47-364808865776
changelog
postgresql
postgresql
162
3
This fixes incorrect results when a subquery is underneath an outer join and has an output column that laterally references something outside the outer join's scope. The output column might not appear as NULL when it should do so due to the action of the outer join. * Fix misprocessing of window function run conditio...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
8e9aaeec-d7bf-5da8-afc9-1818d682e433
changelog
postgresql
postgresql
162
4
When executing a `MERGE UPDATE` action on a partitioned table, if the `UPDATE` is turned into a `DELETE` and `INSERT` due to changing a partition key column, skip firing `AFTER UPDATE ROW` triggers, as well as other post-update actions such as RLS checks. These actions would typically fail, which is why a regular `UP...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
15b150ea-8dbc-5a30-8806-911f9b37e4df
changelog
postgresql
postgresql
162
5
If the tuple being updated had just been updated and moved to another page by another session, there was a narrow window where we would attempt to fetch data from the new tuple version without any pin on its buffer. In principle this could result in garbage data appearing in non-updated columns of the proposed new tu...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
dd8e9481-83e6-559a-9572-69dc580a9af3
changelog
postgresql
postgresql
162
6
* Fix use of wrong tuple slot while evaluating `DISTINCT` aggregates that have multiple arguments (David Rowley) [§](https://postgr.es/c/6298673f4) This mistake could lead to errors such as “attribute 1 of type record has wrong type”. * Avoid assertion failures in `heap_update()` and `heap_delete()` when a tuple to ...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
54349c20-72a4-5bbe-9bfd-f750e0b61c9d
changelog
postgresql
postgresql
162
7
* Fix problems with duplicate token names in `ALTER TEXT SEARCH CONFIGURATION ... MAPPING` commands (Tender Wang, Michael Paquier) [§](https://postgr.es/c/f33e83285) * Fix `DROP ROLE` with duplicate role names (Michael Paquier) [§](https://postgr.es/c/f57a580fd) Previously this led to a “tuple already updated by sel...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
e741aeb3-aefe-5885-b9ab-5e5cc5ffd61d
changelog
postgresql
postgresql
162
8
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 datatype of interest. This could lead to improperly rejecting or accepting a `GENERATED` clause, or to mistakenly applying the cons...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
8e62373b-0fef-5a8d-91c0-e2340bd4a7e7
changelog
postgresql
postgresql
162
9
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_162.md
c5ca656b-ff0e-51e0-99ca-4a2c1224b264
changelog
postgresql
postgresql
162
10
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/72d0c135b) Some cases that should cause an out-of-range error produced an incorrect result instead. * Allow `scram_...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
2d2a9d76-3847-599b-9617-205e7949e385
changelog
postgresql
postgresql
162
11
Invalid values were not noted in the view as intended. This escaped detection because there are very few settings in these groups. * Match collation too when matching an existing index to a new partitioned index (Peter Eisentraut) [§](https://postgr.es/c/267f33f68) Previously we could accept an index that has a di...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
8e059908-58f9-51ec-aa05-7e6e428322a3
changelog
postgresql
postgresql
162
12
* Avoid premature release of buffer pin in GIN index insertion (Tom Lane) [§](https://postgr.es/c/f76b975d5) If an index root page split occurs concurrently with our own insertion, the code could fail with “buffer NNNN is not owned by resource owner”. * Avoid failure with partitioned SP-GiST indexes (Tom Lane) [§](h...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
4cc96d58-c5bc-5114-b88e-9bd8bfe5d938
changelog
postgresql
postgresql
162
13
* Fix reporting of I/O timing data in `EXPLAIN (BUFFERS)` (Michael Paquier) [§](https://postgr.es/c/db69101a1) The numbers labeled as “shared/local” actually refer only to shared buffers, so change that label to “shared”. * Ensure durability of `CREATE DATABASE` (Noah Misch) [§](https://postgr.es/c/6d423e9ff) [§](ht...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
cb8d7eac-e533-5623-8d25-2fe44ef69dce
changelog
postgresql
postgresql
162
14
* Prevent standby servers from incorrectly processing dead index tuples during subtransactions (Fei Changhong) [§](https://postgr.es/c/0e2c05af9) The `startedInRecovery` flag was not correctly set for a subtransaction. This affects only processing of dead index tuples. It could allow a query in a subtransaction to i...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
a7bbcf0c-0246-59b9-9992-023da18280b2
changelog
postgresql
postgresql
162
15
This bug appears to be only latent except when running a 32-bit PostgreSQL build on a 64-bit platform. * 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/01cc92fa6) One edge of the deadlock loo...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
2aafeda2-6453-5b91-bb95-493a4338ccbb
changelog
postgresql
postgresql
162
16
* Fix failure of logical replication's initial sync for a table with no columns (Vignesh C) [§](https://postgr.es/c/1b6da28e0) This case generated an improperly-formatted `COPY` command. * Re-validate a subscription's connection string before use (Vignesh C) [§](https://postgr.es/c/4c03ac7e2) [§](https://postgr.es/c...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
0edb596e-972c-5f27-aa08-0e6a0ad5cd54
changelog
postgresql
postgresql
162
17
Use the BIO “app\_data” field for our private storage, instead of assuming it's okay to use the “data” field. This mistake didn't cause problems before, but with 3.2 it leads to crashes and complaints about double frees. * Be more wary about OpenSSL not setting `errno` on error (Tom Lane) [§](https://postgr.es/c/ebbd...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
4b38181c-04a9-50ea-a71a-96715fd9cda1
changelog
postgresql
postgresql
162
18
* In PL/pgSQL, support SQL commands that are `CREATE FUNCTION`/`CREATE PROCEDURE` with SQL-standard bodies (Tom Lane) [§](https://postgr.es/c/00f941356) Previously, such cases failed with parsing errors due to the semicolon(s) appearing in the function body. * Fix libpq's handling of errors in pipelines (Álvaro Herr...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
bcfb5af7-3e50-5b41-bd81-ae54b3e5b926
changelog
postgresql
postgresql
162
19
* Avoid race condition when libpq initializes OpenSSL support concurrently in two different threads (Willi Mann, Michael Paquier) [§](https://postgr.es/c/8984480b5) * Fix timing-dependent failure in GSSAPI data transmission (Tom Lane) [§](https://postgr.es/c/85eb77185) When using GSSAPI encryption in non-blocking mo...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
bb3f36b6-2955-56c7-bca7-44e34d7b9ec8
changelog
postgresql
postgresql
162
20
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_162.md
675ada8f-87bc-5de0-8ebb-ccbcbb48c08d
changelog
postgresql
postgresql
162
21
Previously, pgbench would behave oddly if a `\startpipeline` command lacked a matching `\endpipeline`. This seems like a scripting mistake rather than a case that pgbench needs to handle nicely, so throw an error. * Fix crash in `contrib/intarray` if an array with an element equal to `INT_MAX` is inserted into a `gis...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
ffce54ec-0e9c-54c5-9189-7c20bcdbaae4
changelog
postgresql
postgresql
162
22
When launching a child process via `cmd.exe`, pass the `/D` flag to prevent executing any autorun commands specified in the registry. This avoids possibly-surprising side effects. * Move `is_valid_ascii()` from `mb/pg_wchar.h` to `utils/ascii.h` (Jubilee Young) [§](https://postgr.es/c/1b924a86e) This change avoids...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
f1be828e-c3ed-5c53-8568-390b3b393ab6
changelog
postgresql
postgresql
162
23
* Avoid deprecation warning when compiling with LLVM 18 (Thomas Munro) [§](https://postgr.es/c/60ba7cae7) * Update time zone data files to tzdata release 2024a for DST law changes in Greenland, Kazakhstan, and Palestine, plus corrections for the Antarctic stations Casey and Vostok. Also historical corrections for Vietn...
large_dataset/raw/changelog/postgresql_releases/postgresql_162.md
e05755f4-8111-5b0c-a396-19e384725e5d
changelog
postgresql
postgresql
163
0
# Release Notes Source: https://www.postgresql.org/docs/release/16.3/ Version: 16.3 ## PostgreSQL 16.3 | E.9. Release 16.3 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-16-4.html "E.8. Release 16.4") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_163.md
48b6e8b9-14ed-5734-b079-6bfe14f943b5
changelog
postgresql
postgresql
163
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_163.md
6b26f23a-9068-5ea8-a75b-63cb6eb74f36
changelog
postgresql
postgresql
163
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_163.md
b4e30c5f-98b4-5238-bffe-13586a368fb7
changelog
postgresql
postgresql
163
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_163.md
37905a73-a4f6-5084-b552-5a8105b23ee7
changelog
postgresql
postgresql
163
4
`SELECT` privilege would be required in all practical cases anyway, but require it even if the query reads no columns of the target table. This avoids an edge case in which `MERGE` would require no privileges whatever, which seems undesirable even when it's a do-nothing command. * Fix handling of self-modified tuples...
large_dataset/raw/changelog/postgresql_releases/postgresql_163.md
114c4301-e3b6-569d-b57c-9692954d27b5
changelog
postgresql
postgresql
163
5
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/7445f0928) Moving a regular table to a new schema causes an...
large_dataset/raw/changelog/postgresql_releases/postgresql_163.md
1b13b6ab-ba02-51f6-8648-2b27139a233b
changelog
postgresql
postgresql
163
6
* Improve `ALTER TABLE ... ALTER COLUMN TYPE`'s error message when there is a dependent function or publication (Tom Lane) [§](https://postgr.es/c/11d40a44b) [§](https://postgr.es/c/b19255ca6) * In `CREATE DATABASE`, recognize strategy keywords case-insensitively for consistency with other options (Tomas Vondra) [§](ht...
large_dataset/raw/changelog/postgresql_releases/postgresql_163.md