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
e6def098-53ea-570c-ae08-04b247d7ba37
changelog
postgresql
postgresql
1513
6
* Avoid error when resetting the `relhassubclass` flag of a temporary table that's marked `ON COMMIT DELETE ROWS` (Noah Misch) [§](https://postgr.es/c/e0f53e669) * Fix planner's failure to identify more than one hashable ScalarArrayOpExpr subexpression within a top-level expression (David Geier) [§](https://postgr.es/c...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
abd96c7c-b530-5fee-8bb6-0416ee9de3aa
changelog
postgresql
postgresql
1513
7
An indexable clause with many keys (for example, `jsonbcol ?| array[...]` with tens of thousands of array elements) took O(N2) time to start up, and was uncancelable for that interval too. * Detect missing support procedures in a BRIN index operator class, and report an error instead of crashing (Álvaro Herrera) [§](...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
766f612f-ee28-55e1-973f-fad934112c24
changelog
postgresql
postgresql
1513
8
* Avoid crash when a Snowball stemmer encounters an out-of-memory condition (Maksim Korotkov) [§](https://postgr.es/c/9c46d902b) * Prevent over-advancement of catalog xmin in “fast forward” mode of logical decoding (Zhijie Hou) [§](https://postgr.es/c/f6429bd7d) This mistake could allow deleted catalog entries to be...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
08f2b313-c110-5573-b680-05bc019093f5
changelog
postgresql
postgresql
1513
9
* Fix wrong checkpoint details in error message about incorrect recovery timeline choice (David Steele) [§](https://postgr.es/c/62bed7bb0) If the requested recovery timeline is not reachable, the reported checkpoint and timeline should be the values read from the backup\_label, if there is one. This message previous...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
7a9bb9a4-7087-56fb-8b13-cafb3514f6d1
changelog
postgresql
postgresql
1513
10
* In PL/pgSQL, avoid “unexpected plan node type” error when a scrollable cursor is defined on a simple `SELECT expression` query (Andrei Lepikhov) [§](https://postgr.es/c/5e56efa7c) * Don't try to drop individual index partitions in pg\_dump's `--clean` mode (Jian He) [§](https://postgr.es/c/7144cd538) The server re...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
b7a7b037-ab91-55c7-98fb-507b290e0e1c
changelog
postgresql
postgresql
1513
11
* In pg\_amcheck and pg\_upgrade, use the correct function to free allocations made by libpq (Michael Paquier, Ranier Vilela) [§](https://postgr.es/c/ec741d480) These oversights could result in crashes in certain Windows build configurations, such as a debug build of libpq used by a non-debug build of the calling ap...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
1ba47969-14db-5846-8668-6895e0ae9a3b
changelog
postgresql
postgresql
1513
12
Applying `pg_freespacemap()` to a relation lacking storage (such as a view) caused an assertion failure, although there was no ill effect in non-assert builds. Add an error check to reject that case. * Fix build failure on macOS 15.4 (Tom Lane, Peter Eisentraut) [§](https://postgr.es/c/0de9560ba) This macOS update...
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
858bba60-b1d0-5b4a-865f-e90dd6007005
changelog
postgresql
postgresql
1513
13
[Return to the Release Notes Archive](/docs/release/) [Next](/docs/release/15.14/)
large_dataset/raw/changelog/postgresql_releases/postgresql_1513.md
7d28f65f-aa65-5361-98c9-958c3db2c6c2
changelog
postgresql
postgresql
1514
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.14/ Version: 15.14 ## PostgreSQL 15.14 | E.2. Release 15.14 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-15.html "E.1. Release 15.15") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
15f902c2-f2ba-500f-b474-8f1770ecd340
changelog
postgresql
postgresql
1514
1
Also, if you are upgrading from a version earlier than 15.13, see [Section E.3](release-15-13.html "E.3. Release 15.13"). ### E.2.2. Changes * Tighten security checks in planner estimation functions (Dean Rasheed) [§](https://postgr.es/c/415badc13) The fix for CVE-2017-7484, plus followup fixes, intended to preven...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
de5b25f3-8c4f-51c0-8e34-be1cf4c110cc
changelog
postgresql
postgresql
1514
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_1514.md
6e7b2602-33ae-5d3f-9268-240965275b58
changelog
postgresql
postgresql
1514
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_1514.md
23104ce9-3f54-5e5b-9741-9ef81117c80a
changelog
postgresql
postgresql
1514
4
* Convert newlines to spaces in names included in comments in pg\_dump output (Noah Misch) [§](https://postgr.es/c/9751f934a) 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_1514.md
b96c0223-06b4-5b06-b5b9-7230c6b7617b
changelog
postgresql
postgresql
1514
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_1514.md
c23b744d-f9fa-5406-b42c-57128290eb6d
changelog
postgresql
postgresql
1514
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/f39a7f32a) We do not allow parti...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
6745dacd-eca8-5cf8-a96a-16b1f631a427
changelog
postgresql
postgresql
1514
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_1514.md
f86f42d4-da9d-56f3-bdd8-81fc8e7dd82c
changelog
postgresql
postgresql
1514
8
* Shorten the race condition window for creating indexes with conflicting names (Tom Lane) [§](https://postgr.es/c/75b8982ea) 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_1514.md
e14e34a3-8a69-52a5-a2ed-067ace14f2f2
changelog
postgresql
postgresql
1514
9
* Fix processing of character classes within `SIMILAR TO` regular expressions (Laurenz Albe) [§](https://postgr.es/c/b3e99115e) [§](https://postgr.es/c/4dc642e75) 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_1514.md
aeb44b7b-5da8-53d4-8bd3-fd39cbce2db8
changelog
postgresql
postgresql
1514
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_1514.md
867719df-8ed0-51e2-aaf5-d17e065ced8f
changelog
postgresql
postgresql
1514
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_1514.md
dde16a94-c716-5405-bd89-bd6f8daf6741
changelog
postgresql
postgresql
1514
12
* Avoid re-distributing cache invalidation messages from other transactions during logical replication (vignesh C) [§](https://postgr.es/c/fc0fb77c5) 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_1514.md
aab7027d-a31e-5837-8812-df6f16b1bd6e
changelog
postgresql
postgresql
1514
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_1514.md
5e6973ee-0c2c-5de1-bef0-234a1aeec930
changelog
postgresql
postgresql
1514
14
Creation of a replication slot on a standby server may require waiting for some active transaction(s) to finish on the primary and then be replayed on the standby. Since that could be an indefinite wait, it's desirable to allow the operation to be cancelled, but there was no check for query cancel in the loop. * Fix ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
ba087486-5812-59c6-a04b-12b10f4c3dae
changelog
postgresql
postgresql
1514
15
This failed in edge cases such as an empty prepared statement. * Fix assertion failure in `XMLTABLE` parsing (Richard Guo) [§](https://postgr.es/c/666103090) * Restore the ability to run PL/pgSQL expressions in parallel (Dipesh Dhameliya) [§](https://postgr.es/c/c65c36ab5) PL/pgSQL's notion of an “expression” is v...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
d90c6981-1c46-56f6-994a-55906b9f1ba3
changelog
postgresql
postgresql
1514
16
* Fix libpq's `PQport()` function to never return NULL unless the passed connection is NULL (Daniele Varrazzo) [§](https://postgr.es/c/a372a64db) This is the documented behavior, but recent libpq versions would return NULL in some cases where the user had not provided a port specification. Revert to our historical b...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
49cb1bb8-a002-551d-a60a-cea47fc88e5f
changelog
postgresql
postgresql
1514
17
* Fix timing-dependent failures in SSL and GSSAPI data transmission (Tom Lane) [§](https://postgr.es/c/6a4d93eda) When using SSL or GSSAPI encryption in non-blocking mode, libpq sometimes failed with “SSL error: bad length” or “GSSAPI caller failed to retransmit all data needing to be retried”. * Avoid null-pointer ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
17fd9ed8-a1d6-5443-9a82-23838bdd8b28
changelog
postgresql
postgresql
1514
18
* Ensure that pg\_dump dumps comments on domain constraints in a valid order (Jian He) [§](https://postgr.es/c/5a261c135) In some cases the comment command could appear before creation of the constraint. * Ensure stable sort ordering in pg\_dump for all types of database objects (Noah Misch, Andreas Karlsson) [§](ht...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
8af38ff5-f5a7-5803-8140-294a21fe7744
changelog
postgresql
postgresql
1514
19
* In pg\_upgrade, check for inconsistent inherited not-null constraints (Ali Akbar) [§](https://postgr.es/c/0f4958685) [§](https://postgr.es/c/bd48455d8) [§](https://postgr.es/c/63c79a6fc) [§](https://postgr.es/c/22d783350) [§](https://postgr.es/c/a8b31b160) [§](https://postgr.es/c/18d2d8ae4) PostgreSQL versions bef...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
3d04fb55-624f-5463-98bb-0bfaffe72162
changelog
postgresql
postgresql
1514
20
* Avoid possible leak of the open connection during `contrib/dblink` connection establishment (Tom Lane) [§](https://postgr.es/c/09c9ae8f6) In the rare scenario where we hit out-of-memory while inserting the new connection object into dblink's hashtable, the open connection would be leaked until end of session, leav...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
72d93b93-e7cf-5b75-a684-02f6576e50b2
changelog
postgresql
postgresql
1514
21
The `PGresult` holding the results of the remote modify command would be leaked for the rest of the session if the query fails between invocations of the DirectModify methods, which could happen when there's `RETURNING` data to process. * Ensure that directories listed in configure's `--with-includes` and `--with-lib...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
b0848179-e929-523f-88b2-3baf9eb5fce0
changelog
postgresql
postgresql
1514
22
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 could not be verified. The practical impact of this error was limited, because production builds for Windows typically do not u...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
8108985d-90f5-5488-a370-5023e3893641
changelog
postgresql
postgresql
1514
23
* Make our usage of `memset_s()` conform strictly to the C11 standard (Tom Lane) [§](https://postgr.es/c/00652b3c9) This avoids compile failures on some platforms. * Prevent uninitialized-value compiler warnings in JSONB comparison code (Tom Lane) [§](https://postgr.es/c/f32e45641) * Avoid deprecation warnings when ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
505e464e-7878-548c-90c9-7581d0999a22
changelog
postgresql
postgresql
1514
24
| [Prev](release-15-15.html "E.1. Release 15.15") | [Up](release.html "Appendix E. Release Notes") | [Next](release-15-13.html "E.3. Release 15.13") | | E.1. Release 15.15 | [Home](index.html "PostgreSQL 15.15 Documentation") | E.3. Release 15.13 | [Previous](/docs/release/15.13/) [Return to the Release Notes Archive...
large_dataset/raw/changelog/postgresql_releases/postgresql_1514.md
78a2f15f-2e52-5cdf-ab58-1d5eab306f15
changelog
postgresql
postgresql
1515
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.15/ Version: 15.15 ## PostgreSQL 15.15 | E.1. Release 15.15 | | | | | | --- | --- | --- | --- | --- | | [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_1515.md
10e8dd5c-f443-5e32-bd2d-fbafe616f277
changelog
postgresql
postgresql
1515
1
### E.1.2. Changes * Check for `CREATE` privileges on the schema in `CREATE STATISTICS` (Jelte Fennema-Nio) [§](https://postgr.es/c/2393d374a) This omission allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts. The PostgreSQL Project thanks Jelte Fennema-Nio...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
30648a01-1a02-5bbd-9621-926ee503c898
changelog
postgresql
postgresql
1515
2
The previous fix for translating `SIMILAR TO` pattern matching expressions to POSIX-style regular expressions broke a corner case that formerly worked: if there is an escape character right after the opening bracket and then a closing bracket right after the escape sequence (for example `[\w]`), the closing bracket w...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
ab93be7b-54b2-5306-b3d3-4e423d7721ef
changelog
postgresql
postgresql
1515
3
There was a hazard only when the last live partition was concurrently dropped. * Remove faulty assertion in btree index cleanup (Peter Geoghegan) [§](https://postgr.es/c/ca0c93908) * Fix possible infinite loop in GIN index scans with multiple scan conditions (Tom Lane) [§](https://postgr.es/c/34249b3b5) GIN can ha...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
2ae7d1cb-a109-5814-9538-6f74ad5b808b
changelog
postgresql
postgresql
1515
4
* Ensure that BRIN autosummarization provides a snapshot for index expressions that need one (Álvaro Herrera) [§](https://postgr.es/c/23ddadf68) [§](https://postgr.es/c/bcfbd3f74) Previously, autosummarization would fail for such indexes, and then leave placeholder index tuples behind, causing the index to bloat ove...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
d8f30642-df0a-5902-bcb4-9d3c5475344e
changelog
postgresql
postgresql
1515
5
When not using JIT, the equivalent code does sign-extension not zero-extension, leading to a different Datum representation of small integer data types. This inconsistency was masked in most cases, but it is known to lead to “could not find memoization table entry” errors when using Memoize plan nodes, and there migh...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
5d8e9173-730a-556b-a4b4-9b88aa06cee3
changelog
postgresql
postgresql
1515
6
* Fix EvalPlanQual handling of foreign or custom joins that do not have an alternative local-join plan prepared for EPQ (Masahiko Sawada, Etsuro Fujita) [§](https://postgr.es/c/4a08603a2) In such cases the foreign or custom access method should be invoked normally, but that did not happen, typically leading to a cra...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
82f0a1bb-cb72-52a5-ad21-e6856e13ea9a
changelog
postgresql
postgresql
1515
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_1515.md
9c0f4211-a4b3-57a2-ad87-6c58549e8bd5
changelog
postgresql
postgresql
1515
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/d202ec1fb)...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
da04891a-4a48-5afb-b8af-144349dc9549
changelog
postgresql
postgresql
1515
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/23b316c36) * Fix corruption o...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
b62337aa-228b-5600-ab14-a1b0e7226f48
changelog
postgresql
postgresql
1515
10
* Add missing replica identity checks in `MERGE` and `INSERT ... ON CONFLICT DO UPDATE` (Zhijie Hou) [§](https://postgr.es/c/5481cc332) [§](https://postgr.es/c/451b22efd) [§](https://postgr.es/c/a4624929d) 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_1515.md
d2725283-6daf-5238-8602-cedb55a99bb4
changelog
postgresql
postgresql
1515
11
* Avoid duplicative log messages about invalid `primary_slot_name` settings (Fujii Masao) [§](https://postgr.es/c/caf529aba) * Remove the unfinished slot state file after failing to write a replication slot's state to disk (Michael Paquier) [§](https://postgr.es/c/0adf424b4) Previously, a failure such as out-of-disk...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
7a8362c2-0949-5909-bab6-de4afa748c5d
changelog
postgresql
postgresql
1515
12
* Avoid failures in logical replication due to chance collisions of file numbers between regular and temporary tables (Vignesh C) [§](https://postgr.es/c/ec471008c) This low-probability problem manifested as transient errors like “unexpected duplicate for tablespace *`X`*, relfilenode *`Y`*”. `contrib/autoprewarm` w...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
4a789023-201d-51c7-b9e9-3aff1723a6ef
changelog
postgresql
postgresql
1515
13
* Fix incorrect printing of messages about failures in checking whether the user has Windows administrator privilege (Bryan Green) [§](https://postgr.es/c/f91666c83) This code would have crashed or at least printed garbage. No such cases have been reported though, indicating that failure of these system calls is ext...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
e0647acf-799b-56ff-879d-45bed1f56d1c
changelog
postgresql
postgresql
1515
14
The parser failed to record the `DISTINCT` option in this context, so that the command would act as if it were plain `GROUP BY`. * Avoid leaking memory when handling a SQL error within PL/Python (Tom Lane) [§](https://postgr.es/c/4cde73259) This fixes a session-lifespan memory leak introduced in our previous minor...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
9f51fec2-0f8d-5d4c-a1df-a93dd8a3b6ae
changelog
postgresql
postgresql
1515
15
* In pg\_dump, dump security labels on subscriptions and event triggers (Jian He, Fujii Masao) [§](https://postgr.es/c/165b07efe) Labels on these types of objects were previously missed. * Fix pg\_dump's sorting of default ACLs and foreign key constraints (Kirill Reshke, Álvaro Herrera) [§](https://postgr.es/c/fbf96...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
4832019a-6ecf-525d-8fe1-588fb442e490
changelog
postgresql
postgresql
1515
16
Do not emit `COMMENT` or `SECURITY LABEL` commands for these objects when `--no-publications` or `--no-subscriptions` is specified. * Fix assorted errors in the data compression logic in pg\_dump and pg\_restore (Daniel Gustafsson, Tom Lane) [§](https://postgr.es/c/8b9924bce) Error checking was missing or incorrec...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
ec3f9bef-b419-5ffd-ad3d-513de5856ebd
changelog
postgresql
postgresql
1515
17
* Fix pgbench's reporting of multiple errors (Yugo Nagata) [§](https://postgr.es/c/bdccb6302) In cases where two successive `PQgetResult` calls both fail, pgbench might report the wrong error message. * In pgbench, fix faulty assertion about errors in pipeline mode (Yugo Nagata) [§](https://postgr.es/c/704f51771) * ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
569fdf8f-59a8-551b-b994-d3ab32f6c1a0
changelog
postgresql
postgresql
1515
18
* Make `contrib/pgstattuple` more robust about empty or invalid index pages (Nitin Motiani) [§](https://postgr.es/c/49b5f0b53) 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...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
2d9b2a96-3964-5d86-ad37-e119488b4091
changelog
postgresql
postgresql
1515
19
* Fix building with LLVM version 21 and later (Holger Hoffstätte) [§](https://postgr.es/c/72a24bebc) * Fix PGXS build infrastructure to support building NLS `po` files for extensions (Ryo Matsumura) [§](https://postgr.es/c/33202cba8) --- | | | | | --- | --- | --- | | [Prev](release.html "Appendix E. Release Notes"...
large_dataset/raw/changelog/postgresql_releases/postgresql_1515.md
771803b4-ca11-507c-880f-656d2b17d0d1
changelog
postgresql
postgresql
152
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.2/ Version: 15.2 ## PostgreSQL 15.2 | E.14. Release 15.2 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-3.html "E.13. Release 15.3") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
d9ac0aeb-166f-51de-8918-9ada421ec71c
changelog
postgresql
postgresql
152
1
### E.14.2. Changes * libpq can leak memory contents after GSSAPI transport encryption initiation fails (Jacob Champion) [§](https://postgr.es/c/715c345dd) A modified server, or an unauthenticated man-in-the-middle, can send a not-zero-terminated error message during setup of GSSAPI (Kerberos) transport encryption....
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
c6171b17-ac65-54e7-b7db-0fa5ee22e9ae
changelog
postgresql
postgresql
152
2
This fixes failure to update `GENERATED` columns that do not exist in the parent table, or that have different dependencies than are in the parent column's generation expression. * Fix possible failure of `MERGE` to compute `GENERATED` columns (Dean Rasheed) [§](https://postgr.es/c/4785af9e6) When the first row-le...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
c9ab5b8a-d1a0-5581-81ec-932f8a46473e
changelog
postgresql
postgresql
152
3
* In `MERGE`, don't count a `DO NOTHING` action as a processed tuple (Álvaro Herrera) [§](https://postgr.es/c/3d45edcef) This makes the code's behavior match the documentation. * Allow a `WITH RECURSIVE ... CYCLE` CTE to access its output column (Tom Lane) [§](https://postgr.es/c/ae98debf7) A reference to the `SE...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
0254b094-b7c2-5ffd-ad65-df5d30a8f5bf
changelog
postgresql
postgresql
152
4
When pg\_dump dumps a partitioned index that's marked `REPLICA IDENTITY`, it generates a command sequence that applies `REPLICA IDENTITY` before the partitioned index has been marked valid, causing restore to fail. There seems no very good reason to prohibit doing it in that order, so allow it. The marking will have ...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
a84dd8b4-ac94-5bd0-95d4-24e6af39da17
changelog
postgresql
postgresql
152
5
* Fix `jsonb` subscripting to cope with toasted subscript values (Tom Lane, David G. Johnston) [§](https://postgr.es/c/d79b76b10) Using a text value fetched directly from a table as a `jsonb` subscript was likely to fail. Fetches would usually not find any matching element. Assignments could store the value with a g...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
53e52f70-2734-5aff-a24a-b9c4594b786e
changelog
postgresql
postgresql
152
6
Internal state was not updated after a change in `checkpoint_completion_target`, possibly resulting in performing checkpoint I/O faster or slower than desired, especially if that setting was changed on-the-fly. * Log the correct ending timestamp in `recovery_target_xid` mode (Tom Lane) [§](https://postgr.es/c/abe2033...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
f9e9c432-029d-5688-8b57-6c1fc3714f49
changelog
postgresql
postgresql
152
7
The input functions for these types previously rejected more than 100 elements. With the introduction of the logical replication column list feature, it's necessary to accept `int2vector`s having up to 1600 columns, otherwise long column lists cause logical-replication failures. * In extended query protocol, avoid an...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
9988ed8e-bddb-51d8-8265-95d89ff4fd17
changelog
postgresql
postgresql
152
8
The server would process a cancel request even if its length word was too small. This led to reading beyond the end of the allocated buffer. In theory that could cause a segfault, but it seems quite unlikely to happen in practice, since the buffer would have to be very close to the end of memory. The more likely outc...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
455eb98b-0aea-5474-ac6b-a626fe0b6664
changelog
postgresql
postgresql
152
9
* Add recursion and looping defenses in subquery pullup (Tom Lane) [§](https://postgr.es/c/1a3daa5bb) 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 c...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
db7018e6-9caa-520f-aada-7ab4b5b2f0e6
changelog
postgresql
postgresql
152
10
* Limit the amount of cleanup work done by `get_actual_variable_range` (Simon Riggs) [§](https://postgr.es/c/2debceed2) Planner runs occurring just after deletion of a large number of tuples appearing at the end of an index could expend significant amounts of work setting the “killed” bits for those index entries. L...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
68c8cb03-583d-50f1-a08c-be595e016ae2
changelog
postgresql
postgresql
152
11
* Prevent clobbering of cached parsetrees for utility statements in SQL functions (Tom Lane, Daniel Gustafsson) [§](https://postgr.es/c/5dfc2b753) If a SQL-language function executes the same utility command more than once within a single calling query, it could crash or report strange errors such as “unrecognized n...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
8a0e9440-d62d-5082-8dbb-6e3d696a7679
changelog
postgresql
postgresql
152
12
This was caused by an ill-advised choice to block interrupts while creating a logical replication slot in the worker. In version 15 that could lead to an undetected deadlock. In version 14, no deadlock has been observed, but it's still a bad idea to block interrupts while waiting for network I/O. * Clean up the libpq...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
994212bb-8329-5ea8-a39f-053cca6eb6f6
changelog
postgresql
postgresql
152
13
Insufficiently-aggressive cleanup of the KnownAssignedXids array could lead to poor performance, particularly when `max_connections` is set to a large value on the standby. * Ignore invalidated logical-replication slots while determining oldest catalog xmin (Sirisha Chamarthi) [§](https://postgr.es/c/1ad033df1) A ...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
b316b546-da99-532a-aeb4-af432132fa73
changelog
postgresql
postgresql
152
14
After a server restart, we'll re-stream the changes for transactions occurring shortly before the restart. Some of these transactions probably never completed; when we realize that one didn't we throw away the relevant decoding state locally, but we neglected to tell the subscriber about it. That led to the subscribe...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
d30784b3-16f5-598b-ac17-3d525b386fc6
changelog
postgresql
postgresql
152
15
* Fix pgoutput replication plug-in to not send columns not listed in a table's replication column list (Hou Zhijie) [§](https://postgr.es/c/ebf87c019) `UPDATE` and `DELETE` events did not pay attention to the configured column list, thus sending more data than expected. This did not cause a problem when the receiver...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
4e628d4e-5679-557a-8c86-62fa4a72d9f5
changelog
postgresql
postgresql
152
16
* Fix `int64_div_fast_to_numeric()` to work for a wider range of inputs (Dean Rasheed) [§](https://postgr.es/c/4f74741a5) This function misbehaved with some values of its second argument. No such usages exist in core PostgreSQL, but it's clearly a hazard for external modules, so repair. * Fix latent buffer-overrun p...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
11d96122-fa76-5373-a29c-7f58c5b50310
changelog
postgresql
postgresql
152
17
clang's undefined-behavior sanitizer complained about use of a pointer that was less aligned than it should be. It's very unlikely that this would cause a problem in non-debug builds, but it's worth fixing for testing purposes. * Fix assertion failure in BRIN minmax-multi opclasses (Tomas Vondra) [§](https://postgr.e...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
939c195a-f39b-5f29-aa0a-cdc51d7819e2
changelog
postgresql
postgresql
152
18
If the `public` schema has a non-default owner then use of pg\_dump's `--if-exists` option resulted in a warning message “warning: could not find where to insert IF EXISTS in statement "-- \*not\* dropping schema, since initdb creates it"”. The dump output was okay, though. * Fix psql's `\sf` and `\ef` commands to ha...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
57601f7f-b4fd-543c-bbcd-1e4973b6661e
changelog
postgresql
postgresql
152
19
* Fix `contrib/seg` to not crash or print garbage if an input number has more than 127 digits (Tom Lane) [§](https://postgr.es/c/b87037b37) * Fix build on Microsoft Visual Studio 2013 (Tom Lane) [§](https://postgr.es/c/576506303) A previous patch supposed that all platforms of interest have `snprintf()`, but MSVC 20...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
3cea7168-9aad-59fc-a9ce-bfd1e30db70f
changelog
postgresql
postgresql
152
20
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/9a40a0311) * ...
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
e931ed68-71bf-5cb4-b25b-d33f802db9b5
changelog
postgresql
postgresql
152
21
[Next](/docs/release/15.3/)
large_dataset/raw/changelog/postgresql_releases/postgresql_152.md
f396c11f-6d78-5770-8816-1aa643c57053
changelog
postgresql
postgresql
153
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.3/ Version: 15.3 ## PostgreSQL 15.3 | E.13. Release 15.3 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-4.html "E.12. Release 15.4") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
e2f2a2d4-97d9-570b-8ca3-7199821b5fae
changelog
postgresql
postgresql
153
1
### E.13.2. Changes * Prevent `CREATE SCHEMA` from defeating changes in `search_path` (Alexander Lakhin) [§](https://postgr.es/c/dbd5795e7) [§](https://postgr.es/c/1b761d896) 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_153.md
49bd58cb-d69a-56ea-b080-a3940f3899f3
changelog
postgresql
postgresql
153
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_153.md
58441c17-358c-5bc2-bf72-9bf49905e125
changelog
postgresql
postgresql
153
3
* Avoid crash when the new schema name is omitted in `CREATE SCHEMA` (Michael Paquier) [§](https://postgr.es/c/b9ad73ad2) The SQL standard allows writing `CREATE SCHEMA AUTHORIZATION owner_name`, with the schema name defaulting to *`owner_name`*. However some code paths expected the schema name to be present and wou...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
d037cef0-cc2c-52d6-a94b-c76052ec1084
changelog
postgresql
postgresql
153
4
The row count reported in the command tag counted rows that actually hadn't been modified due to a `BEFORE ROW` trigger returning NULL. This is inconsistent with what happens in plain `UPDATE` or `DELETE`, so change it to not count such rows. Also, avoid counting a row twice when `MERGE` moves it into a different par...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
ee2d0732-6b8d-5b6e-8929-ce84bf79215e
changelog
postgresql
postgresql
153
5
* Fix enabling/disabling of foreign-key triggers in partitioned tables (Tom Lane) [§](https://postgr.es/c/f61e60102) `ALTER TABLE ... ENABLE/DISABLE TRIGGER` failed if applied to a partitioned table's foreign-key enforcement triggers, because it tried to locate the clone triggers for the partitions by name, and they...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
fd27363f-1a59-53f8-9073-57b37fd85da0
changelog
postgresql
postgresql
153
6
Since the removal of OID as a system column, there is no plausible use-case for this, and various bits of code no longer support it. Disallow it rather than trying to fix all the cases. * Ensure that `COPY TO` from an RLS-enabled parent table does not copy any rows from child tables (Antonin Houska) [§](https://postg...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
1ad4fbf7-891f-5426-af39-f6211c1402e0
changelog
postgresql
postgresql
153
7
When using the deletion feature, the function might fetch the byte just after the input string, creating a small risk of crash. * Adjust text-search-related character classification logic to correctly detect whether the prevailing locale is `C` (Jeff Davis) [§](https://postgr.es/c/8b87e9291) This code got confused...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
f5c7bc81-7872-5b70-ba4a-8e6bf0eb4e1a
changelog
postgresql
postgresql
153
8
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_153.md
6c876c83-7111-55b2-9d42-470a92bb1122
changelog
postgresql
postgresql
153
9
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/df567fbf6) This can lead to trouble if an event trigger captures the corrupted parse tree. * ...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
11cdaf5e-8713-5454-9367-af43b94eaa73
changelog
postgresql
postgresql
153
10
A SubPlan within such a clause would cause assertion failures or incorrect answers, as would some other unusual cases. * Disable the inverse-transition optimization for window aggregates when the call contains sub-SELECTs (David Rowley) [§](https://postgr.es/c/a9fa6d79a) This optimization requires that the aggrega...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
d464b001-232c-5f85-86e2-41d5a6b33f69
changelog
postgresql
postgresql
153
11
* Fix partition pruning logic for partitioning on boolean columns (David Rowley) [§](https://postgr.es/c/0c09160e1) Pruning with a condition like `boolcol IS NOT TRUE` was done incorrectly, leading to possibly not returning rows in which `boolcol` is NULL. Also, the rather unlikely case of partitioning on `NOT boolc...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
a952b8e2-1ce2-5087-8eca-fdf9f34a97ab
changelog
postgresql
postgresql
153
12
* Fix memory leak in Memoize plan execution (David Rowley) [§](https://postgr.es/c/8de4660a5) * Fix buffer refcount leak when using batched inserts for a foreign table included in a partitioned tree (Alexander Pyhalov) [§](https://postgr.es/c/aa6177c88) * Restore support for sub-millisecond `vacuum_cost_delay` settings...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
c1e6ed6b-204d-5d3d-827c-e3940bb8ee54
changelog
postgresql
postgresql
153
13
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 parent (for example, different physical column order). This typically manifested as failure of consistency checks in the executor; but a c...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
68ae26c2-0d3d-52fa-aa4e-f6df658aefb3
changelog
postgresql
postgresql
153
14
* When decompiling a rule or SQL function body containing `INSERT`/`UPDATE`/`DELETE` within `WITH`, take care to print the correct alias for the target table (Tom Lane) [§](https://postgr.es/c/c8a5f1685) * Fix glitches in `SERIALIZABLE READ ONLY` optimization (Thomas Munro) [§](https://postgr.es/c/055990904) [§](https:...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
eb547118-4637-552b-940a-1e6a4a108245
changelog
postgresql
postgresql
153
15
* Avoid unnecessary calls to custom validators for index operator class options (Alexander Korotkov) [§](https://postgr.es/c/6e7361c85) This change fixes some cases where an unexpected error was thrown. * Avoid useless work while scanning a multi-column BRIN index with multiple scan keys (Tomas Vondra) [§](https://p...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
a531f544-15b5-5479-8acc-66fb8bc26f23
changelog
postgresql
postgresql
153
16
* Ignore dropped columns and generated columns during logical replication of an update or delete action (Onder Kalaci, Shi Yu) [§](https://postgr.es/c/b6bf90edc) [§](https://postgr.es/c/3c12407f4) Replication with the `REPLICA IDENTITY FULL` option failed if the table contained such columns. * Correct the name of th...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
c3994f10-1b56-5fab-83a7-7aac6eb71ba4
changelog
postgresql
postgresql
153
17
This could result in not honoring `wal_keep_size` accurately. * Disable startup progress reporting overhead in standby mode (Bharath Rupireddy) [§](https://postgr.es/c/ecb01e6eb) In standby mode, we don't actually report progress of recovery, but we were doing work to track it anyway. * Support RSA-PSS certificate...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
56332dfa-4bbd-53de-89fc-5157e697e314
changelog
postgresql
postgresql
153
18
This case is not known to be reached by any core PostgreSQL code, but extensions might rely on it working. * Add missing cases to `SPI_result_code_string()` (Dean Rasheed) [§](https://postgr.es/c/576b25bfd) * Fix erroneous Valgrind markings in `AllocSetRealloc()` (Karina Litskevich) [§](https://postgr.es/c/f6a55c1d5)...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
3219c40c-726f-5b41-8ab1-4752830ec860
changelog
postgresql
postgresql
153
19
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/2207df7c3) It i...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
c3c27a79-d14a-5a59-ae7b-8db72eea05ce
changelog
postgresql
postgresql
153
20
* Tighten array dimensionality checks when converting Python list structures to multi-dimensional SQL arrays (Tom Lane) [§](https://postgr.es/c/b7001c6b6) [§](https://postgr.es/c/512c55522) 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_153.md
e2da4340-9b49-5345-9778-44b13a2cc240
changelog
postgresql
postgresql
153
21
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/8c...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
ec24c610-b44d-5565-98d6-404b79203339
changelog
postgresql
postgresql
153
22
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_153.md
a0aa4dda-fb04-5645-b6e4-a1f0f1608e3f
changelog
postgresql
postgresql
153
23
* In pgbench's “prepared” mode, prepare all the commands in a pipeline before starting the pipeline (Álvaro Herrera) [§](https://postgr.es/c/108a22bd1) This avoids a failure when a pgbench script tries to start a serializable transaction inside a pipeline. * In `contrib/amcheck`'s heap checking code, deal correctly ...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
5d3bc90e-1068-55e8-900d-d8d3a51f5b19
changelog
postgresql
postgresql
153
24
* In `contrib/hstore_plpython`, avoid crashing if the Python value to be transformed isn't a mapping (Dmitry Dolgov, Tom Lane) [§](https://postgr.es/c/85ec8bcce) This should give an error, but Python 3 changed some APIs in a way that caused the check to misbehave, allowing a crash to ensue. * Require the `siglen` op...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md