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
fb3614f3-383c-5f21-ad16-b8fa1af33731
changelog
postgresql
postgresql
1322
4
* Convert newlines to spaces in names included in comments in pg\_dump output (Noah Misch) [§](https://postgr.es/c/2179e6005) 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_1322.md
f393e8ed-86f4-592e-83a9-079cff12cb14
changelog
postgresql
postgresql
1322
5
* Allow tables with statement-level triggers to become partitions or inheritance children (Etsuro Fujita) [§](https://postgr.es/c/afdb4cde1) We do not allow partitions or inheritance child tables to have row-level triggers with transition tables, because an operation on the whole inheritance tree would need to maint...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
f254cea0-826b-5a70-a1a9-4467637151de
changelog
postgresql
postgresql
1322
6
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_1322.md
15e2299f-45a9-5edf-b1ec-8d42efc2fdcd
changelog
postgresql
postgresql
1322
7
* Prevent usage of incorrect `VACUUM` options in some cases where multiple tables are vacuumed in a single command (Nathan Bossart, Michael Paquier) [§](https://postgr.es/c/65c3223f9) The `TRUNCATE` and `INDEX_CLEANUP` options of one table could be applied to others. * Fix processing of character classes within `SIM...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
cee71f9b-5030-5892-af89-a31951dc0c32
changelog
postgresql
postgresql
1322
8
* Limit the checkpointer process's fsync request queue size (Alexander Korotkov, Xuneng Zhou) [§](https://postgr.es/c/f32a47161) [§](https://postgr.es/c/7f872ae70) With very large `shared_buffers` settings, it was possible for the checkpointer to attempt to allocate more than 1GB for fsync requests, leading to failu...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
ec808afa-b0eb-5adc-828c-0994c7f70c11
changelog
postgresql
postgresql
1322
9
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_1322.md
33c5d90b-e980-5985-b126-50c309fab27f
changelog
postgresql
postgresql
1322
10
Our previous round of minor releases included a bug fix to ensure that replication receiver processes would respond to cross-process cache invalidation messages, preventing them from using stale catalog data while performing replication updates. However, the fix unintentionally made them also redistribute those messa...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
71b9a659-6b23-53f5-a518-f32fd58cba36
changelog
postgresql
postgresql
1322
11
In some cases a replication client could acknowledge an LSN that's past what it has stored persistently, and then perhaps send an older LSN after a restart. We consider this not-a-bug so long as the client did not have anything it needed to do for the WAL between the two points. However, we should not re-send that WA...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
845679b8-8cab-585e-a4f9-fee7a88c8b26
changelog
postgresql
postgresql
1322
12
This could result in an assertion failure or “cannot fetch toast data without an active snapshot” error. * Avoid assertion failure during cross-table constraint updates (Tom Lane, Jian He) [§](https://postgr.es/c/13f1e9f26) [§](https://postgr.es/c/f9ba071cc) * Remove faulty assertion that a command tag must have been...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
75aa6f74-3172-5e80-8d4b-5b44704ab6b8
changelog
postgresql
postgresql
1322
13
* Fix edge-case resource leaks in PL/Python error reporting (Tom Lane) [§](https://postgr.es/c/1c78d5553) [§](https://postgr.es/c/93aca1246) 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_1322.md
1cc4f9a6-c362-5e6a-983e-8bb3928c2a1c
changelog
postgresql
postgresql
1322
14
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_1322.md
c95e6d40-fedf-5879-9b40-ed1770771ff8
changelog
postgresql
postgresql
1322
15
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) [§](https://postgr.es/c/04bc2c42f) [§](https://postgr.es/c/cc9a62c51) [§](https://postgr.es/c/bc05590c7) pg\_dump sorts object...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
35914f0c-44dc-568f-9198-ff810fa27184
changelog
postgresql
postgresql
1322
16
PostgreSQL versions before 18 allow an inherited column not-null constraint to be dropped. However, this results in a schema that cannot be restored, leading to failure in pg\_upgrade. Detect such cases during pg\_upgrade's preflight checks to allow users to fix them before initiating the upgrade. * Avoid assertion f...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
d807a3a5-332b-5800-a236-edfd8d5a4cdd
changelog
postgresql
postgresql
1322
17
Autoprewarm failed with a memory allocation error if `shared_buffers` was larger than about 50 million buffers (400GB). * 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/3c03b8cd7) * Fix memory leakage in `contrib/pos...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
51128312-f10a-508d-92aa-085faed1fe8a
changelog
postgresql
postgresql
1322
18
A common reason for using these options is to allow a user-built version of some library to override the system-supplied version. However, that failed to work in some environments because of careless ordering of switches in the commands issued by the makefiles. * Fix configure's checks for `__cpuid()` and `__cpuidex(...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
b39faf63-0b86-5820-b711-0aeb6b5c2c1e
changelog
postgresql
postgresql
1322
19
Solaris is inconsistent with other Unix platforms about the API for PAM authentication. This manifested as an “inconsistent pointer” compiler warning, which we never did anything about. But as of GCC 14 it's an error not warning by default, so fix it. * Make our code portable to GNU Hurd (Michael Banck, Christoph Ber...
large_dataset/raw/changelog/postgresql_releases/postgresql_1322.md
00b0d9e8-8902-599f-ae08-88c45b0dfeff
changelog
postgresql
postgresql
1322
20
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_1322.md
3fa4f78e-6be0-5712-b6b7-d0e1e5e8acb2
changelog
postgresql
postgresql
1323
0
# Release Notes Source: https://www.postgresql.org/docs/release/13.23/ Version: 13.23 ## PostgreSQL 13.23 | E.1. Release 13.23 | | | | | | --- | --- | --- | --- | --- | | [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_1323.md
21c215c8-4f55-57a8-9435-ef547174276e
changelog
postgresql
postgresql
1323
1
### E.1.1. Migration to Version 13.23 A dump/restore is not required for those running 13.X. However, if you are upgrading from a version earlier than 13.21, see [Section E.3](release-13-21.html "E.3. Release 13.21"). ### E.1.2. Changes * Check for `CREATE` privileges on the schema in `CREATE STATISTICS` (Jelte Fen...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
aeae4571-acbd-5500-a913-3c0424a0fe05
changelog
postgresql
postgresql
1323
2
The PostgreSQL Project thanks Aleksey Solovev of Positive Technologies for reporting this problem. (CVE-2025-12818) * Further fix processing of character classes within `SIMILAR TO` regular expressions (Laurenz Albe) [§](https://postgr.es/c/308773617) The previous fix for translating `SIMILAR TO` pattern matching ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
17cd19b5-2709-5b71-bc0e-a6675232c045
changelog
postgresql
postgresql
1323
3
* Fix “no relation entry for relid” errors in corner cases while estimating SubPlan costs (Richard Guo) [§](https://postgr.es/c/8c02d92c6) * Remove faulty assertion in btree index cleanup (Peter Geoghegan) [§](https://postgr.es/c/af302ff6b) * Fix possible infinite loop in GIN index scans with multiple scan conditions (...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
e8cfe708-fb7c-50a1-bd2b-dba52046fba9
changelog
postgresql
postgresql
1323
4
* Ensure that BRIN autosummarization provides a snapshot for index expressions that need one (Álvaro Herrera) [§](https://postgr.es/c/3c7b47974) [§](https://postgr.es/c/ef81697fe) 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_1323.md
09cc59a8-abcc-5ac1-a91b-77529390f3e9
changelog
postgresql
postgresql
1323
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_1323.md
64dbdd79-951d-51be-8ea1-308bc94db3f7
changelog
postgresql
postgresql
1323
6
* Disallow generated columns in partition keys (Jian He, Ashutosh Bapat) [§](https://postgr.es/c/7f239c72a) This was already not allowed, but the check missed some cases, such as where the column reference is implicit in a whole-row reference. * Disallow generated columns in `COPY ... FROM ... WHERE` clauses (Peter ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
b6f85c8a-89a7-5ecc-9633-ac0f23d97702
changelog
postgresql
postgresql
1323
7
* Fix memory leakage in hashed subplans (Haiyang Li) [§](https://postgr.es/c/8b6c29afd) 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. * Add missing replica identity checks in `ME...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
ecd4ab5f-c57c-5bcb-a688-7dece2bfbce6
changelog
postgresql
postgresql
1323
8
* Fix incorrect reporting of replication lag in `pg_stat_replication` view (Fujii Masao) [§](https://postgr.es/c/7d7ebdb80) If any standby server's replay LSN stopped advancing, the `write_lag` and `flush_lag` columns would eventually stop updating. * Avoid duplicative log messages about invalid `primary_slot_name` ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
e5968aa3-a420-5ab4-ad89-921048b25bf7
changelog
postgresql
postgresql
1323
9
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_1323.md
6d221140-8806-5984-ad0a-48381b44483f
changelog
postgresql
postgresql
1323
10
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 extremely rare. * Avoid startup failure on macOS and BSD platforms when there is a collision with a pre-existing semaphore set (Tom Lane) [§](https://postgr.es/c/e3b3fa86...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
82b7590f-9f41-59b4-a7d6-eda9a5b0224b
changelog
postgresql
postgresql
1323
11
The code for encrypting/decrypting transmitted data using GSSAPI did not correctly recognize error conditions on the connection socket, since Windows reports those differently than other platforms. This led to failure to make such connections on Windows. * In pg\_dump, dump security labels on subscriptions and event ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
fc91114a-441e-5f20-be99-0d840d9e34f0
changelog
postgresql
postgresql
1323
12
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 labels for publications and subscriptions that are not being restored (Jian He, Fujii Masao) [§](https://postgr.es/c/8fbd1f8ea) [§](https://postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
c1862187-60e0-53d5-bf9f-4dd53613426d
changelog
postgresql
postgresql
1323
13
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_1323.md
e76f3bfd-b708-5ec8-b766-bc150e8d0bac
changelog
postgresql
postgresql
1323
14
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) [§](https://postgr.es/c/19a64f567) `pg_prewarm()` requires `SELECT` privilege on relations to be prewarmed. However, since indexes have no...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
ccf21b9b-41fc-510c-96f8-f298c8f3b55b
changelog
postgresql
postgresql
1323
15
* Harden our read and write barrier macros to satisfy Clang (Thomas Munro) [§](https://postgr.es/c/77b5b2c6f) We supposed that `__atomic_thread_fence()` is a sufficient barrier to prevent the C compiler from re-ordering memory accesses around it, but it appears that that's not true for Clang, allowing it to generate...
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
71e9e70a-8126-5312-8fb1-d958e155b49c
changelog
postgresql
postgresql
1323
16
[Return to the Release Notes Archive](/docs/release/)
large_dataset/raw/changelog/postgresql_releases/postgresql_1323.md
a6b760b1-0317-5209-90c3-19f1a94ec4ce
changelog
postgresql
postgresql
133
0
# Release Notes Source: https://www.postgresql.org/docs/release/13.3/ Version: 13.3 ## PostgreSQL 13.3 | E.21. Release 13.3 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-13-4.html "E.20. Release 13.4") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
edba604e-ec90-52d8-9087-5db1408b434b
changelog
postgresql
postgresql
133
1
### E.21.2. Changes * Prevent integer overflows in array subscripting calculations (Tom Lane) [§](https://postgr.es/c/467395bfd) The array code previously did not complain about cases where an array's lower bound plus length overflows an integer. This resulted in later entries in the array becoming inaccessible (si...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
d031af80-9f43-5600-b870-6dbc208a2179
changelog
postgresql
postgresql
133
2
If the `UPDATE` list contains any multi-column sub-selects (which give rise to junk columns in addition to the results proper), the `UPDATE` path would end up storing tuples that include the values of the extra junk columns. That's fairly harmless in the short run, but if new columns are added to the table then the v...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
d3786bb0-fd94-5bea-832e-4d2237a0c0ea
changelog
postgresql
postgresql
133
3
If an `UPDATE` for a partitioned table caused a row to be moved to another partition with a physically different row type (for example, one with a different set of dropped columns), computation of `RETURNING` results for that row could produce errors or wrong answers. No error is observed unless the `UPDATE` involves...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
0d641fb3-4f48-50c4-a478-6294d9dc0368
changelog
postgresql
postgresql
133
4
This change also disallows applying such an `ALTER` directly to the constraints of leaf partitions. The only supported case is for the whole partitioning hierarchy to have identical constraint properties, so such `ALTER`s must be applied at the partition root. * When attaching a child table with `ALTER TABLE ... INHE...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
b2befa6e-ff4e-5c15-8e11-74456e93d08c
changelog
postgresql
postgresql
133
5
Previously, over-eager validity checks might reject these commands, even if the values would have worked when used later. This created a command ordering hazard for dump/reload and upgrade scenarios. * Ensure that `REINDEX CONCURRENTLY` preserves any statistics target that's been set for the index (Michael Paquier) [...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
1eeafc1e-dd66-5920-ae93-9a7b4aa5812e
changelog
postgresql
postgresql
133
6
This led to a parse tree in which the `COLLATE` appears to be applied to a non-collatable value. While that normally has no real impact (since `COLLATE` has no effect at runtime), it was possible to construct views that would be rejected during dump/reload. * Fix use-after-free bug in saving tuples for `AFTER` trigge...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
8c182828-171a-5238-8562-964696411763
changelog
postgresql
postgresql
133
7
* Fix `to_char()`'s handling of Roman-numeral month format codes with negative intervals (Julien Rouhaud) [§](https://postgr.es/c/be79debd9) Previously, such cases would usually cause a crash. * Check that the argument of `pg_import_system_collations()` is a valid schema OID (Tom Lane) [§](https://postgr.es/c/fe2b53...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
e9876635-3f12-54e3-be11-e82d1c145bcd
changelog
postgresql
postgresql
133
8
This led to strange estimates for queries such as `SELECT ... GROUP BY a, b, ctid`. * Avoid divide-by-zero when estimating selectivity of a regular expression with a very long fixed prefix (Tom Lane) [§](https://postgr.es/c/3a02d68a9) This typically led to a `NaN` selectivity value, causing assertion failures or s...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
256ae241-118f-578f-9967-e7cfa4ebfb03
changelog
postgresql
postgresql
133
9
If the number of index matches became large enough to make the bitmap holding them become lossy (a threshold that depends on `work_mem`), the code could get confused about whether rechecks are required, allowing rows to be returned that don't actually match the query. * Fix concurrency issues with WAL segment recycli...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
c1277c9a-dca0-5341-a0b9-4c66fedfdc62
changelog
postgresql
postgresql
133
10
* Ensure that locks are released while shutting down a standby server's startup process (Fujii Masao) [§](https://postgr.es/c/e7bcfd717) When a standby server is shut down while still in recovery, some locks might be left held. This causes assertion failures in debug builds; it's unclear whether any serious conseque...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
db66b630-57eb-59e1-b4a7-ca6459819f35
changelog
postgresql
postgresql
133
11
* Disable the `vacuum_cleanup_index_scale_factor` parameter and storage option (Peter Geoghegan) [§](https://postgr.es/c/9663d1244) [§](https://postgr.es/c/1fc5a5738) The notion of tracking “stale” index statistics proved to interact badly with the `autovacuum_vacuum_insert_threshold` parameter, resulting in unneces...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
fe8f1d71-8834-561d-a354-51675571d33f
changelog
postgresql
postgresql
133
12
* Ensure we finish cleaning up when interrupted while detaching a DSM segment (Thomas Munro) [§](https://postgr.es/c/9fe40913c) This error could result in temporary files not being cleaned up promptly after a parallel query. * Fix assorted minor memory leaks in the server (Tom Lane, Andres Freund) [§](https://postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
b7846da5-d8d9-508c-893d-70cafd948685
changelog
postgresql
postgresql
133
13
* Fix failure when a PL/pgSQL `DO` block makes use of both composite-type variables and transaction control (Tom Lane) [§](https://postgr.es/c/97b7ad468) Previously, such cases led to errors about leaked tuple descriptors. * Prevent infinite loop in libpq if a ParameterDescription message with a corrupt length is re...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
6f79ad63-9063-5b96-87de-92e48afeb17a
changelog
postgresql
postgresql
133
14
* Fix psql's `ON_ERROR_ROLLBACK` feature to handle `COMMIT AND CHAIN` commands correctly (Arthur Nascimento) [§](https://postgr.es/c/be7485a1e) Previously, this case failed with “savepoint "pg\_psql\_temporary\_savepoint" does not exist”. * In psql, avoid repeated “could not print result table” failures after the fi...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
19616815-a635-5307-aaf9-a946cca1971d
changelog
postgresql
postgresql
133
15
When reading a custom-format archive from a non-seekable source, pg\_restore neglected to check the archive version. If it was fed a newer archive version than it can support, it would fail messily later on. * Add some more checks to pg\_upgrade for user tables containing non-upgradable data types (Tom Lane) [§](http...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
60f77b5a-0447-5e36-94f6-bde6c89dc739
changelog
postgresql
postgresql
133
16
* Fix `contrib/amcheck` to not complain about the tuple flags `HEAP_XMAX_LOCK_ONLY` and `HEAP_KEYS_UPDATED` both being set (Julien Rouhaud) [§](https://postgr.es/c/28f4b6108) This is a valid state after `SELECT FOR UPDATE`. * Adjust VPATH build rules to support recent Oracle Developer Studio compiler versions (Noah ...
large_dataset/raw/changelog/postgresql_releases/postgresql_133.md
c11dee5f-aea6-58df-b36c-c3ae74625135
changelog
postgresql
postgresql
134
0
# Release Notes Source: https://www.postgresql.org/docs/release/13.4/ Version: 13.4 ## PostgreSQL 13.4 | E.20. Release 13.4 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-13-5.html "E.19. Release 13.5") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
6ef32141-5f05-5a94-b538-13253f484531
changelog
postgresql
postgresql
134
1
### E.20.2. Changes * Fix mis-planning of repeated application of a projection step (Tom Lane) [§](https://postgr.es/c/fe6f63286) The planner could create an incorrect plan in cases where two ProjectionPaths were stacked on top of each other. The only known way to trigger that situation involves parallel sort opera...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
44a2023c-5fca-52e9-aa03-24f3266276d0
changelog
postgresql
postgresql
134
2
* Restore the Portal-level snapshot after `COMMIT` or `ROLLBACK` within a procedure (Tom Lane) [§](https://postgr.es/c/d18ee6f92) [§](https://postgr.es/c/6e43f1c2d) [§](https://postgr.es/c/6f1321d5a) [§](https://postgr.es/c/93f99693f) [§](https://postgr.es/c/c64183f23) This change fixes cases where an attempt to fet...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
783e60c6-a5a7-51ae-bbf5-04f0bef5954b
changelog
postgresql
postgresql
134
3
Previously, we'd always rewind and re-read the whole query result, possibly getting results different from the earlier execution, causing great confusion later. For a NO SCROLL cursor, we can fix this by only storing the not-yet-read portion of the query output, which is sufficient since a NO SCROLL cursor can't be b...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
eca53338-af10-55a7-b653-68e12363e6da
changelog
postgresql
postgresql
134
4
This should be disallowed, just as `FOR UPDATE` with a plain `GROUP BY` is disallowed, but the test for that failed to handle empty grouping sets correctly. The end result would be a null-pointer dereference in the executor. * Reject cases where a query in `WITH` rewrites to just `NOTIFY` (Tom Lane) [§](https://postg...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
acd02cb5-39cc-5f49-90a7-9192ae75c2d7
changelog
postgresql
postgresql
134
5
* Fix `pg_size_pretty(bigint)` to round negative values consistently with the way it rounds positive ones (and consistently with the `numeric` version) (Dean Rasheed, David Rowley) [§](https://postgr.es/c/6f88b68ff) [§](https://postgr.es/c/87103002c) * Make `pg_filenode_relation(0, 0)` return NULL rather than failing (...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
b6b00bfc-bbea-5df4-a58b-6d5b47384825
changelog
postgresql
postgresql
134
6
* Avoid alias conflicts in queries generated for `REFRESH MATERIALIZED VIEW CONCURRENTLY` (Tom Lane, Bharath Rupireddy) [§](https://postgr.es/c/ba9f665a4) [§](https://postgr.es/c/75d66d10e) This command failed on materialized views containing columns with certain names, notably `mv` and `newdata`. * Fix `PREPARE TRA...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
4b9f05e6-7142-5c9c-b760-d5577135f5cc
changelog
postgresql
postgresql
134
7
Notably, this fixes some cases where it was necessary to be a superuser to use `DROP OWNED BY`. * Re-allow old-style Windows locale names in `CREATE COLLATION` commands (Thomas Munro) [§](https://postgr.es/c/6dcb185bf) Previously we were failing because the operating system can't provide version information for su...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
29bece7b-8f35-51f2-918c-6f97caddd5db
changelog
postgresql
postgresql
134
8
* Don't store a “fast default” when adding a column to a foreign table (Andrew Dunstan) [§](https://postgr.es/c/5b6b5e5ee) The fast default is useless since no local heap storage exists for such a table, but it confused subsequent operations. In addition to suppressing creation of such catalog entries in `ALTER TABL...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
8eb42394-e385-51de-bf8e-acfe25b2525d
changelog
postgresql
postgresql
134
9
* Make walsenders show their latest replication commands in `pg_stat_activity` (Tom Lane) [§](https://postgr.es/c/4a20de9d9) Previously, a walsender would show its latest SQL command, which was confusing if it's now doing some replication operation instead. Now we show replication-protocol commands on the same footi...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
0edeac23-8e91-5ed0-b422-3b1ce6a4f968
changelog
postgresql
postgresql
134
10
* Fix mis-planning of queries involving regular tables that are inheritance children of foreign tables (Amit Langote) [§](https://postgr.es/c/6753a5b7e) `SELECT FOR UPDATE` and related commands would fail with assertion failures or “could not find junk column” errors in such cases. * Fix pullup of constant function-...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
8c6f3e50-37e6-5414-845d-9f9cbb1fb722
changelog
postgresql
postgresql
134
11
File truncation is irreversible, so it's no longer safe to stop recovery at a point earlier than that record. The corresponding case for transaction commit was fixed years ago, but this one was overlooked. * Advance oldest-required-WAL-segment horizon properly after a replication slot is invalidated (Kyotaro Horiguch...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
832dfd26-bef5-587b-b735-c0568d39ec02
changelog
postgresql
postgresql
134
12
* Correctly clear shared state after failing to become a member of a transaction commit group (Amit Kapila) [§](https://postgr.es/c/741deb260) Given the right timing, this could cause an assertion failure when some later session re-uses the same PGPROC object. * Add locking to avoid reading incorrect relmapper data ...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
2fcf8dd8-a444-5393-8666-038ae9317126
changelog
postgresql
postgresql
134
13
* Fix assorted crash cases in logical replication of partitioned-table updates (Amit Langote, Tom Lane) [§](https://postgr.es/c/b270713fd) [§](https://postgr.es/c/fad9c8e93) * Fix potential crash when firing AFTER triggers of partitioned tables in logical replication workers (Tom Lane) [§](https://postgr.es/c/5b4791b45...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
e9bdf844-94f2-5e87-a440-a4fedff34429
changelog
postgresql
postgresql
134
14
* Fix plan cache reference leaks in some error cases in `CREATE TABLE ... AS EXECUTE` (Tom Lane) [§](https://postgr.es/c/d03a41d1c) * Fix race condition in code for sharing tuple descriptors across parallel workers (Thomas Munro) [§](https://postgr.es/c/d41fda6aa) Given the right timing, a crash could result. * Fix ...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
c120e362-24d4-51d9-b160-956029dcecb2
changelog
postgresql
postgresql
134
15
One code path could attempt to free a null pointer. The case appears unreachable in the core server's use of sorting, but perhaps it could be triggered by extensions. * Harden B-tree posting list split code against corrupt data (Peter Geoghegan) [§](https://postgr.es/c/fa675af59) Throw an error, rather than crashi...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
579b7026-edd1-53ee-a1f9-bb286530de70
changelog
postgresql
postgresql
134
16
* Ensure that SP-GiST index insertion can be terminated by a query cancel request (Tom Lane, Álvaro Herrera) [§](https://postgr.es/c/c1b72bf04) [§](https://postgr.es/c/63831c162) * Fix uninitialized-variable bug that could cause PL/pgSQL to act as though an `INTO` clause specified `STRICT`, even though it didn't (Tom L...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
c34faa3d-ba89-5bfc-9575-791120714610
changelog
postgresql
postgresql
134
17
An incorrectly-encoded multibyte character near the end of a string could cause various processing loops to run past the string's terminating NUL, with results ranging from no detectable issue to a program crash, depending on what happens to be in the following memory. This is reminiscent of CVE-2006-2313, although t...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
e369646b-7346-50d0-b813-481152189f64
changelog
postgresql
postgresql
134
18
Previously, the new installation's `oldestXID` was set to a value old enough to (usually) force immediate anti-wraparound autovacuuming. That's not desirable from a performance standpoint; what's worse, installations using large values of `autovacuum_freeze_max_age` could suffer unwanted forced shutdowns soon after a...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
d527ddbc-84c1-509e-b302-e4465cbc958e
changelog
postgresql
postgresql
134
19
`postgres_fdw` will now behave reasonably with generated columns, so long as a generated column in a foreign table represents a generated column in the remote table. `IMPORT FOREIGN SCHEMA` will now import generated columns that way by default. * In `contrib/postgres_fdw`, avoid attempting catalog lookups after an er...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
dcb7150f-35e9-5125-9059-5d96c180359f
changelog
postgresql
postgresql
134
20
Allow isolation test steps to be annotated to show the expected completion order. This allows getting stable results from otherwise-racy test cases, without the long delays that we previously used (not entirely successfully) to fend off race conditions. Allow non-quoted identifiers as isolation test session/step name...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
d8677ca8-795e-5970-a2bb-112e6cba4e8f
changelog
postgresql
postgresql
134
21
This should improve server robustness in corner cases, and it syncs our `printf` implementation with common libraries. * Fix incorrect log message when point-in-time recovery stops at a `ROLLBACK PREPARED` record (Simon Riggs) [§](https://postgr.es/c/41edb2db1) * Improve `ALTER TABLE`'s messages for wrong-relation-ki...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
08dbeeee-d761-5335-a3ed-072ea85fea2f
changelog
postgresql
postgresql
134
22
These are the same as `world` and `install-world` respectively, except that they do not build or install the documentation. * Fix make rule for TAP tests (`prove_installcheck`) to work in PGXS usage (Andrew Dunstan) [§](https://postgr.es/c/a8b564b0c) * Adjust JIT code to prepare for forthcoming LLVM API change (Thoma...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
40f85c2e-ef4b-5d29-9a03-c2790d501ae6
changelog
postgresql
postgresql
134
23
Fix various incompatibilities with modern Kerberos builds. * In MSVC builds, include `--with-pgport` in the set of configure options reported by pg\_config, if it had been specified (Andrew Dunstan) [§](https://postgr.es/c/c828a7246) [§](https://postgr.es/c/bb18bc224) --- | | | | | --- | --- | --- | | [Prev](rel...
large_dataset/raw/changelog/postgresql_releases/postgresql_134.md
0489faf7-266f-5d33-9349-12044f6d6bf2
changelog
postgresql
postgresql
135
0
# Release Notes Source: https://www.postgresql.org/docs/release/13.5/ Version: 13.5 ## PostgreSQL 13.5 | E.19. Release 13.5 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-13-6.html "E.18. Release 13.6") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
6afcaae9-060f-52fd-b746-7e3b51381426
changelog
postgresql
postgresql
135
1
Also, several bugs have been found that may have resulted in corrupted indexes, as explained in the next several changelog entries. If any of those cases apply to you, it's recommended to reindex possibly-affected indexes after updating. Also, if you are upgrading from a version earlier than 13.2, see [Section E.22](r...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
2991f6af-75bd-54f6-8d20-27850128270b
changelog
postgresql
postgresql
135
2
* Make libpq reject extraneous data after an SSL or GSS encryption handshake (Tom Lane) [§](https://postgr.es/c/844b31692) A man-in-the-middle with the ability to inject data into the TCP connection could stuff some cleartext data into the start of a supposedly encryption-protected database session. This could proba...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
d0096ddf-0654-5f21-89fe-7c8486c38b33
changelog
postgresql
postgresql
135
3
If the primary did not survive long enough to finish writing the rest of the incomplete WAL record, then the previous crash-recovery logic had it back up and overwrite WAL starting from the beginning of the incomplete WAL record. This is problematic since standby servers may already have copies of that WAL segment. ...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
9b0b232f-2d11-524c-afa1-7878f81021cc
changelog
postgresql
postgresql
135
4
Rows inserted by just-prepared transactions might be omitted from the new index, causing queries relying on the index to miss such rows. The previous fix for this type of problem failed to account for `PREPARE TRANSACTION` commands that were still in progress when `CREATE INDEX CONCURRENTLY` checked for them. As befo...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
c538e11a-11ef-5a99-93f8-bfb281aca3cc
changelog
postgresql
postgresql
135
5
* Fix `float4` and `float8` hash functions to produce uniform results for NaNs (Tom Lane) [§](https://postgr.es/c/be2beadaf) [§](https://postgr.es/c/9089f1543) [§](https://postgr.es/c/2c0dd669c) Since PostgreSQL's floating-point types deem all NaNs to be equal, it's important for the hash functions to produce the sa...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
9d54807a-f897-5530-b537-dfc827c8b0a2
changelog
postgresql
postgresql
135
6
* Prevent data loss during crash recovery of `CREATE TABLESPACE`, when `wal_level` = `minimal` (Noah Misch) [§](https://postgr.es/c/b18669f5e) If the server crashed between `CREATE TABLESPACE` and the next checkpoint, replay would fully remove the contents of the new tablespace's directory, relying on subsequent WAL...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
122ea484-7e5a-53ba-ac2c-025acc6b178e
changelog
postgresql
postgresql
135
7
* Ensure that the relation cache is invalidated for all partitions of a partitioned table that is being added to or removed from a publication (Hou Zhijie, Vignesh C) [§](https://postgr.es/c/f09a81f1c) This oversight could lead to improper replication behavior until all currently-existing sessions have exited. * Ens...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
31052cc4-6634-5f5d-84c0-3d15096ce83c
changelog
postgresql
postgresql
135
8
For example, if column `f1` is of type `numeric(18,3)`, the parser used to simply discard a cast like `f1::numeric`, on the grounds that it would have no run-time effect. That's true, but the exposed type of the expression should still be considered to be plain `numeric`, not `numeric(18,3)`. This is important for co...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
9e61cb7e-0635-5071-9403-d4fd6119cfaf
changelog
postgresql
postgresql
135
9
`FETCH FIRST WITH TIES` necessarily fetches one more row than requested, since it cannot stop until it finds a row that is not a tie. In our current implementation, if `FOR UPDATE` is used then that row will also get locked even though it is not returned. That results in undesirable behavior if the `SKIP LOCKED` opti...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
315c5d78-5d40-5a91-9c73-36300320b315
changelog
postgresql
postgresql
135
10
* Fix corner-case loss of precision in numeric `power()` (Dean Rasheed) [§](https://postgr.es/c/9ab94ccb1) The result could be inaccurate when the first argument is very close to 1. * Avoid regular expression errors with capturing parentheses inside `{0}` (Tom Lane) [§](https://postgr.es/c/071146184) Regular expr...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
14306f7a-c4ab-5f5c-b9da-2ccee78c18b7
changelog
postgresql
postgresql
135
11
The regexp engine was careless about clearing match data for capturing parentheses after rejecting a partial match. This could allow a later back-reference to match in places where it should fail for lack of a defined referent. * Fix regular expression performance bug with back-references inside iteration nodes (Tom ...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
a3f7d2b5-18a6-574a-9a32-1beff668adb9
changelog
postgresql
postgresql
135
12
If a function in `FROM` laterally references the output of some sub-`SELECT` earlier in the `FROM` clause, and we are able to flatten that sub-`SELECT` into the outer query, the expression(s) copied into the function expression were not fully processed. This could lead to crashes at execution. * Fix mistranslation of...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
bbd23c3e-8ee2-5f24-92aa-576dafa9118a
changelog
postgresql
postgresql
135
13
* Fix restoration of a Portal's snapshot inside a subtransaction (Bertrand Drouvot) [§](https://postgr.es/c/04ef2021e) If a procedure commits or rolls back a transaction, and then its next significant action is inside a new subtransaction, snapshot management went wrong, leading to a dangling pointer and probable cr...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
184152b3-0730-5338-9f43-860946c32333
changelog
postgresql
postgresql
135
14
This oversight could cause significant performance degradation (manifesting as excessive SubtransSLRU traffic) on standby servers. * Ensure that prepared transactions are properly accounted for during promotion of a standby server (Michael Paquier, Andres Freund) [§](https://postgr.es/c/194e535a0) There was a narr...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
ff4e7e22-0ef6-55cf-a423-fc7ca65789d6
changelog
postgresql
postgresql
135
15
This change allows notifications to be delivered immediately after an intra-procedure `COMMIT`. It also allows logical replication workers to send notifications. * Refuse to rewind a cursor marked `NO SCROLL` if it has been held over from a previous transaction due to the `WITH HOLD` option (Tom Lane) [§](https://pos...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
8820076d-1d00-5737-b92d-d0f5f8d8188d
changelog
postgresql
postgresql
135
16
* Fix detection of a relation that has grown to the maximum allowed length (Tom Lane) [§](https://postgr.es/c/04118de78) An attempt to extend a table or index past the limit of 2^32-1 blocks was rejected, but not soon enough to prevent inconsistent internal state from being created. * Correctly track the presence of...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
f67749a3-661b-5cde-bfdf-bb3bf12175a7
changelog
postgresql
postgresql
135
17
This oversight could lead to misbehavior in parallel queries if the transaction isolation level is less than `REPEATABLE READ`. * Fix logical decoding to correctly ignore toast-table changes for transient tables (Bertrand Drouvot) [§](https://postgr.es/c/794025eff) Logical decoding normally ignores changes in tran...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
bf9bd13e-b153-55e0-9f64-1a8f613a3dbc
changelog
postgresql
postgresql
135
18
* Fix computation of the WAL range to include in a backup manifest when a timeline change is involved (Kyotaro Horiguchi) [§](https://postgr.es/c/29f942325) [§](https://postgr.es/c/d6d68e223) * Avoid trying to lock the `OLD` and `NEW` pseudo-relations in a rule that uses `SELECT FOR UPDATE` (Masahiko Sawada, Tom Lane) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
5c568c40-685b-5d19-be72-4ecf1d442971
changelog
postgresql
postgresql
135
19
For historical reasons, `ALTER INDEX ... RENAME` can be applied to any sort of relation. The lock level required to rename an index is lower than that required to rename a table or other kind of relation, but the code got this wrong and would use the weaker lock level whenever the command is spelled `ALTER INDEX`. * ...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
be84903f-10a1-5504-88cb-1b7348cc3e01
changelog
postgresql
postgresql
135
20
`ALTER ... SET` executed by an extension script would cause the target object to become a member of the extension if it was not already. In itself this isn't too troubling, since there's little reason for an extension script to touch an object not belonging to the extension. But `ALTER TYPE SET` will recurse to depen...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
ff834569-10a0-5b8e-a756-9227006b81c5
changelog
postgresql
postgresql
135
21
* Prevent “snapshot reference leak” warning when `lo_export()` or a related function fails (Heikki Linnakangas) [§](https://postgr.es/c/07070c008) [§](https://postgr.es/c/b7299b664) * Ensure that scans of SP-GiST indexes are counted in the statistics views (Tom Lane) [§](https://postgr.es/c/dbb239d51) Incrementing t...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
4954e7cc-9363-573c-855f-e5a54363f18b
changelog
postgresql
postgresql
135
22
* Avoid O(N^2) behavior in some list-manipulation operations (Nathan Bossart, Tom Lane) [§](https://postgr.es/c/df238aed1) [§](https://postgr.es/c/e477642a1) [§](https://postgr.es/c/0151af40c) These changes fix slow processing in several scenarios, including: when a standby replays a transaction that held many exclu...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
d122d093-76e4-5713-a073-3f013221b8c5
changelog
postgresql
postgresql
135
23
This change should help detect index corruption involving duplicate table TIDs. * Disallow setting `huge_pages` to `on` when `shared_memory_type` is `sysv` (Thomas Munro) [§](https://postgr.es/c/24b7cf8a5) Previously, this setting was accepted, but it did nothing for lack of any implementation. * Fix missing libpq...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md
af94882a-ab9f-58c1-8759-c062af47fff4
changelog
postgresql
postgresql
135
24
They were being called with an out-of-date snapshot, so that they would not see any database changes made since the start of the session's top-level command. * Allow `EXIT` out of the outermost block in a PL/pgSQL routine (Tom Lane) [§](https://postgr.es/c/745abdd95) If the routine does not require an explicit `RE...
large_dataset/raw/changelog/postgresql_releases/postgresql_135.md