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
836cc829-3a24-5405-b425-1f7ff8a0f5d1
changelog
postgresql
postgresql
153
25
A regex such as `$foo` is legal but unsatisfiable; the regex compiler recognizes that and produces an empty NFA graph. Attempting to optimize such a graph into a pg\_trgm GIN or GiST index qualification resulted in accessing off the end of a work array, possibly leading to crashes. * Fix handling of escape sequences ...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
655fbba1-c9ac-53de-aa65-24ac70881418
changelog
postgresql
postgresql
153
26
* Stop recommending auto-download of DTD files for building the documentation, and indeed disable it (Aleksander Alekseev, Peter Eisentraut, Tom Lane) [§](https://postgr.es/c/2ee703c9d) It appears no longer possible to build the SGML documentation without a local installation of the DocBook DTD files. Formerly xsltp...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
64259dc5-8805-528f-ab27-131f15a7a908
changelog
postgresql
postgresql
153
27
* Update time zone data files to tzdata release 2023c for DST law changes in Egypt, Greenland, Morocco, and Palestine. (Tom Lane) [§](https://postgr.es/c/62b22caa5) When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with o...
large_dataset/raw/changelog/postgresql_releases/postgresql_153.md
19bc36f3-ec11-579f-9657-1bbe95b9b253
changelog
postgresql
postgresql
154
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.4/ Version: 15.4 ## PostgreSQL 15.4 | E.12. Release 15.4 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-5.html "E.11. Release 15.5") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
09d9083b-660c-5801-ad1b-a13f1009a923
changelog
postgresql
postgresql
154
1
Also, if you are upgrading from a version earlier than 15.1, see [Section E.15](release-15-1.html "E.15. Release 15.1"). ### E.12.2. Changes * Disallow substituting a schema or owner name into an extension script if the name contains a quote, backslash, or dollar sign (Noah Misch) [§](https://postgr.es/c/de494ec14) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
407de5d5-19af-5d49-bd46-8f9ad3b2d31a
changelog
postgresql
postgresql
154
2
In addition, when `MERGE` performs a `DO NOTHING` action, it applied the target table's `DELETE` RLS policies to existing rows, even though those rows are not being deleted. While it's not a security problem, this could result in unwanted errors. The PostgreSQL Project thanks Dean Rasheed for reporting this proble...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
1a908c44-6c26-5c20-a33e-4ac632fe1b02
changelog
postgresql
postgresql
154
3
* Avoid leaving a corrupted database behind when `DROP DATABASE` is interrupted (Andres Freund) [§](https://postgr.es/c/f66403749) If `DROP DATABASE` was interrupted after it had already begun taking irreversible steps, the target database remained accessible (because the removal of its `pg_database` row would roll ...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
28c63c32-e44e-5666-a00d-531d450d1fe6
changelog
postgresql
postgresql
154
4
* Ignore invalid child indexes when matching partitioned indexes to child indexes during `ALTER TABLE ATTACH PARTITION` (Michael Paquier) [§](https://postgr.es/c/7aa17b498) Such an index will now be ignored, and a new child index created instead. * Fix possible failure when marking a partitioned index valid after al...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
bd1e6e3c-4633-595d-9927-6208ad20518a
changelog
postgresql
postgresql
154
5
* Fix tracking of tables' access method dependencies (Michael Paquier) [§](https://postgr.es/c/93401ec02) `ALTER TABLE ... SET ACCESS METHOD` failed to update relevant `pg_depend` entries when changing a table's access method. When using non-built-in access methods, this creates a risk that an access method could be...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
e8b16725-8a53-5af4-b94f-5871d37bcfde
changelog
postgresql
postgresql
154
6
Applying Memoize to a sub-plan that contains volatile filter conditions is likely to lead to wrong answers. The check to avoid doing this missed some cases that can arise when using `LATERAL`. * Avoid producing incorrect plans for foreign joins with pseudoconstant join clauses (Etsuro Fujita) [§](https://postgr.es/c/...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
b15747bd-3481-5bb8-b173-8a6a040759df
changelog
postgresql
postgresql
154
7
Conflicts could be missed when using bitmap heap scans, when using GIN indexes, and when examining an initially-empty btree index. All these cases could lead to serializability failures due to improperly allowing conflicting transactions to commit. * Fix misbehavior of EvalPlanQual checks with inherited or partitione...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
341a17c8-0b78-5270-b854-9ae62ab67461
changelog
postgresql
postgresql
154
8
If the overall value of the composite column is wide enough to require out-of-line toasting, then an unluckily-timed cache flush could cause errors or server crashes. * Prevent query-lifespan memory leaks in some `UPDATE` queries with triggers (Tomas Vondra) [§](https://postgr.es/c/ee87f8b63) [§](https://postgr.es/c/...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
e72d12e4-d131-5746-8f81-4043186de2d7
changelog
postgresql
postgresql
154
9
* Ensure that all existing placeholders are checked for matches when an extension declares its GUC prefix to be reserved (Karina Litskevich, Ekaterina Sokolova) [§](https://postgr.es/c/a5f312c58) Faulty loop logic could cause some entries to be skipped. * Fix mishandling of C++ out-of-memory conditions (Heikki Linna...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
703f74a6-cea5-5734-a6a2-075c2f0e02e4
changelog
postgresql
postgresql
154
10
Ensure that the segment is moved into the appropriate “bin” for its new amount of free space, so that it will be found by subsequent searches. * Allow `VACUUM` to continue after detecting certain types of b-tree index corruption (Peter Geoghegan) [§](https://postgr.es/c/642bec1f8) [§](https://postgr.es/c/6983a5112) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
ac8efff1-e9eb-5282-86fa-c288d234f17c
changelog
postgresql
postgresql
154
11
* Avoid double replay of prepared transactions during crash recovery (suyu.cmj, Michael Paquier) [§](https://postgr.es/c/a878eff6b) [§](https://postgr.es/c/f6ecd2622) After a crash partway through a checkpoint with some two-phase transaction state data already flushed to disk by this checkpoint, crash recovery could...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
f4f4f3c9-3d5b-5373-abe3-99c0158e4e96
changelog
postgresql
postgresql
154
12
While an unlogged index's main data fork is not WAL-logged, its init fork should be, to ensure that we have a consistent state to restore the index to after a crash. This step was missed if the init fork contains no data, which is a case not used by any standard index AM; but perhaps some extension behaves that way. ...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
9616e6f3-0d07-58c9-a2f5-5d09f0079d3b
changelog
postgresql
postgresql
154
13
* Avoid assertion failure when the `stats_fetch_consistency` setting is changed intra-transaction (Kyotaro Horiguchi) [§](https://postgr.es/c/ccd21e1cf) * Fix `contrib/fuzzystrmatch`'s Soundex `difference()` function to handle empty input sanely (Alexander Lakhin, Tom Lane) [§](https://postgr.es/c/eaf99e4c4) An inpu...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
42f75944-67a5-5f33-b80a-73342ab7fc5c
changelog
postgresql
postgresql
154
14
* Avoid useless double decompression of GiST index entries in `contrib/intarray` (Konstantin Knizhnik, Matthias van de Meent, Tom Lane) [§](https://postgr.es/c/5cb461989) * Fix `contrib/pageinspect`'s `gist_page_items()` function to work when there are included index columns (Alexander Lakhin, Michael Paquier) [§](http...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
cfefae8d-540b-582f-b6b1-78debb4724a4
changelog
postgresql
postgresql
154
15
Such cases can arise from `GROUP BY` and `ON CONFLICT` clauses, for example. The function must then be postponed until after the unique index in the dump output, but pg\_dump did not do that and instead printed a warning about “could not resolve dependency loop”. * Improve pg\_dump's display of details about dependen...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
c085b953-02fd-5e8f-b7fb-46e99145f30c
changelog
postgresql
postgresql
154
16
| [Prev](release-15-5.html "E.11. Release 15.5") | [Up](release.html "Appendix E. Release Notes") | [Next](release-15-3.html "E.13. Release 15.3") | | E.11. Release 15.5 | [Home](index.html "PostgreSQL 15.15 Documentation") | E.13. Release 15.3 | [Previous](/docs/release/15.3/) [Return to the Release Notes Archive](/...
large_dataset/raw/changelog/postgresql_releases/postgresql_154.md
07af7c50-01e5-59d0-96c5-53693b5092bd
changelog
postgresql
postgresql
155
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.5/ Version: 15.5 ## PostgreSQL 15.5 | E.11. Release 15.5 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-6.html "E.10. Release 15.6") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
99140014-9962-5320-921d-6a3d3a405528
changelog
postgresql
postgresql
155
1
However, several mistakes have been discovered that could lead to certain types of indexes yielding wrong search results or being unnecessarily inefficient. It is advisable to `REINDEX` potentially-affected indexes after installing this update. See the fourth through seventh changelog entries below. Also, if you are u...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
196fd1a9-15e5-5040-8ee3-9808e02709de
changelog
postgresql
postgresql
155
2
When assigning new elements to array subscripts that are outside the current array bounds, an undetected integer overflow could occur in edge cases. Memory stomps that are potentially exploitable for arbitrary code execution are possible, and so is disclosure of server memory. The PostgreSQL Project thanks Pedro G...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
33ef92bf-40f2-5423-9acb-6c4d9276f39d
changelog
postgresql
postgresql
155
3
The documentation says that `pg_signal_backend` cannot issue signals to superuser-owned processes. It was able to signal these background processes, though, because they advertise a role OID of zero. Treat that as indicating superuser ownership. The security implications of cancelling one of these process types are f...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
019ea740-3cad-52fd-8191-f020d6fdbbba
changelog
postgresql
postgresql
155
4
Fix a case where the location of a page downlink was incorrectly tracked, and introduce some logic to allow recovering from such situations rather than silently doing the wrong thing. This error could result in incorrect answers from subsequent index searches. It may be advisable to reindex all GiST indexes after ins...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
5b364b4d-3b08-5c92-9a0e-644cda856d24
changelog
postgresql
postgresql
155
5
* Process `date` values more sanely in BRIN `datetime_minmax_multi_ops` indexes (Tomas Vondra) [§](https://postgr.es/c/088233f8d) The distance calculation for dates was backward, causing poor decisions about which entries to merge. The index still produces correct results, but is much less efficient than it should b...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
a1e74327-f772-508a-a1cd-12b45dbecc67
changelog
postgresql
postgresql
155
6
Infinities were mistakenly treated as having distance zero rather than a large distance from other values, causing poor decisions about which entries to merge. Also, finite-but-very-large values (near the endpoints of the representable timestamp range) could result in internal overflows, again causing poor decisions....
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
20b7d6b9-3216-54b9-b784-e928fa31e3f0
changelog
postgresql
postgresql
155
7
* Fix partition step generation and runtime partition pruning for hash-partitioned tables with multiple partition keys (David Rowley) [§](https://postgr.es/c/1e81d3e6e) [§](https://postgr.es/c/916adc7c5) Some cases involving an `IS NULL` condition on one of the partition keys could result in a crash. * Fix inconsist...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
a91ebf45-5d20-59de-a96a-6ce0bac71af0
changelog
postgresql
postgresql
155
8
If the initially-named table is excluded by constraints, but not all its inheritance descendants are, the first non-excluded descendant was identified as the primary target table. This would lead to firing statement-level triggers associated with that table, rather than the initially-named table as should happen. In ...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
3be4fdbc-c5fa-5a3a-8683-797367b0b9e1
changelog
postgresql
postgresql
155
9
* Fix intra-query memory leak when a set-returning function repeatedly returns zero rows (Tom Lane) [§](https://postgr.es/c/592cb11fb) * Don't crash if `cursor_to_xmlschema()` is applied to a non-data-returning Portal (Boyu Yang) [§](https://postgr.es/c/95f54f0d0) * Throw the intended error if `pgrowlocks()` is applied...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
066e7caf-059b-569b-a773-e49790420881
changelog
postgresql
postgresql
155
10
Report an error if `pgstatindex()`, `pgstatginindex()`, `pgstathashindex()`, or `pgstattuple()` is applied to an invalid index. If `brin_desummarize_range()`, `brin_summarize_new_values()`, `brin_summarize_range()`, or `gin_clean_pending_list()` is applied to an invalid index, do nothing except to report a debug-leve...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
35a84b7e-54f4-56f7-9d15-c193cb0a9dd2
changelog
postgresql
postgresql
155
11
If the incoming vector includes position data, the binary receive function left wasted space (roughly equal to the size of the position data) in the finished `tsvector`. In extreme cases this could lead to “maximum total lexeme length exceeded” failures for vectors that were under the length limit when emitted. In an...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
c8570a25-baf1-508d-85b8-48bce0860d03
changelog
postgresql
postgresql
155
12
* Avoid crash in `EXPLAIN` if a parameter marked to be displayed by `EXPLAIN` has a NULL boot-time value (Xing Guo, Aleksander Alekseev, Tom Lane) [§](https://postgr.es/c/ae33659d4) No built-in parameter fits this description, but an extension could define such a parameter. * Ensure we have a snapshot while dropping...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
b61ab180-9239-5a9c-8b50-b664263925a5
changelog
postgresql
postgresql
155
13
* Cope with torn reads of `pg_control` in frontend programs (Thomas Munro) [§](https://postgr.es/c/5e39884d3) On some file systems, reading `pg_control` may not be an atomic action when the server concurrently writes that file. This is detectable via a bad CRC. Retry a few times to see if the file becomes valid befo...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
9bec99ba-488f-52dd-92e6-ad67fcbd267f
changelog
postgresql
postgresql
155
14
* Fix briefly showing inconsistent progress statistics for `ANALYZE` on inherited tables (Heikki Linnakangas) [§](https://postgr.es/c/5ae245664) The block-level counters should be reset to zero at the same time we update the current-relation field. * Fix the background writer to report any WAL writes it makes to the...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
4724caaa-675a-56b5-9984-b88c0abd8dae
changelog
postgresql
postgresql
155
15
* Avoid a possible pfree-a-NULL-pointer crash after an error in OpenSSL connection setup (Sergey Shinderuk) [§](https://postgr.es/c/9dc85806d) * Track nesting depth correctly when inspecting `RECORD`-type Vars from outer query levels (Richard Guo) [§](https://postgr.es/c/2679a107a) This oversight could lead to asser...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
8d90fbaa-9435-5510-983f-e16382eaa466
changelog
postgresql
postgresql
155
16
* Fix assertion failure when logical decoding is retried in the same session after an error (Hou Zhijie) [§](https://postgr.es/c/c7256e656) * Treat out-of-memory failures as fatal while reading WAL (Michael Paquier) [§](https://postgr.es/c/afc79591d) Previously this would be treated as a bogus-data condition, leadin...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
d580a74f-e81b-5b55-a297-e03d589051a1
changelog
postgresql
postgresql
155
17
* Fix datatype size confusion in logical tape management (Ranier Vilela) [§](https://postgr.es/c/5180160c1) Integer overflow was possible on platforms where long is wider than int, although it would take a multiple-terabyte temporary file to cause a problem. * Avoid unintended close of syslogger process's stdin (Hei...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
9ce63f57-49c3-561b-b792-168ce38e5272
changelog
postgresql
postgresql
155
18
* Recalculate the effective value of `search_path` after `ALTER ROLE` (Jeff Davis) [§](https://postgr.es/c/9f3343e40) [§](https://postgr.es/c/1bc19dfcf) This ensures that after renaming a role, the meaning of the special string `$user` is re-determined. * Fix “could not duplicate handle” error occurring on Windows w...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
64148106-1531-5e0a-9a6d-9deba76e8df7
changelog
postgresql
postgresql
155
19
* Fix pg\_restore so that selective restores will include both table-level and column-level ACLs for selected tables (Euler Taveira, Tom Lane) [§](https://postgr.es/c/10e705bd2) Formerly, only the table-level ACL would get restored if both types were present. * Add logic to pg\_upgrade to check for use of `abstime`,...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
819e5bb3-07fc-5a9b-b62b-a01c8e6cf13f
changelog
postgresql
postgresql
155
20
* In `contrib/amcheck`, do not report interrupted page deletion as corruption (Noah Misch) [§](https://postgr.es/c/6f81386a9) This fix prevents false-positive reports of “the first child of leftmost target page is not leftmost of its level”, “block NNNN is not leftmost” or “left link/right link pair in index XXXX no...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
27231350-3b1e-5a0a-bcc5-6d67686bfb5c
changelog
postgresql
postgresql
155
21
Xcode 15 (released with macOS Sonoma) changed the linker's behavior in a way that causes many duplicate-library warnings while building PostgreSQL. These were harmless, but they're annoying so avoid citing the same libraries twice. Also remove use of the `-multiply_defined suppress` linker switch, which apparently ha...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
e4e9c2d0-487e-592b-96ad-25580f4159c7
changelog
postgresql
postgresql
155
22
Presence of this abbreviation in the default list can cause failures on recent Debian and Ubuntu releases, as they no longer install the underlying tzdb entry by default. Since this is a made-up abbreviation for a zone with a total human population of about two dozen, it seems unlikely that anyone will miss it. If so...
large_dataset/raw/changelog/postgresql_releases/postgresql_155.md
300f7b24-4828-5d8c-8805-c9a3088098fa
changelog
postgresql
postgresql
156
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.6/ Version: 15.6 ## PostgreSQL 15.6 | E.10. Release 15.6 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-7.html "E.9. Release 15.7") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postg...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
80f5c7b5-5e4e-5834-8bb6-593c304db8d3
changelog
postgresql
postgresql
156
1
However, one bug was fixed that could have resulted in corruption of GIN indexes during concurrent updates. If you suspect such corruption, reindex affected indexes after installing this update. Also, if you are upgrading from a version earlier than 15.5, see [Section E.11](release-15-5.html "E.11. Release 15.5"). ##...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
afe44cd0-43b8-5914-8c37-bb1b5ef3f97a
changelog
postgresql
postgresql
156
2
The only known exploit for this error does not work in PostgreSQL 16.0 and later, so it may be that v16 is not vulnerable in practice. The PostgreSQL Project thanks Pedro Gallegos for reporting this problem. (CVE-2024-0985) * Fix memory leak when performing JIT inlining (Andres Freund, Daniel Gustafsson) [§](https...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
03c3aad0-0493-5305-9737-5c17acf88769
changelog
postgresql
postgresql
156
3
Some uncommon situations involving lateral references could create incorrect plans. Affected queries could produce wrong answers, or odd failures such as “variable not found in subplan target list”, or executor crashes. * Fix incorrect wrapping of subquery output expressions in PlaceHolderVars (Tom Lane) [§](https://...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
e1389d25-e7cc-50a7-bb2d-e0c9bc91fc53
changelog
postgresql
postgresql
156
4
When executing a `MERGE UPDATE` action on a partitioned table, if the `UPDATE` is turned into a `DELETE` and `INSERT` due to changing a partition key column, skip firing `AFTER UPDATE ROW` triggers, as well as other post-update actions such as RLS checks. These actions would typically fail, which is why a regular `UP...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
c318f1f8-819a-5ceb-8ddb-66b32f51b216
changelog
postgresql
postgresql
156
5
If the tuple being updated had just been updated and moved to another page by another session, there was a narrow window where we would attempt to fetch data from the new tuple version without any pin on its buffer. In principle this could result in garbage data appearing in non-updated columns of the proposed new tu...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
24864b44-6001-51ec-9ba8-361a41979537
changelog
postgresql
postgresql
156
6
* Fix overly tight assertion about `false_positive_rate` parameter of BRIN bloom operator classes (Alexander Lakhin) [§](https://postgr.es/c/7e18c0bd6) This error had no impact in non-assert builds, either. * Fix possible failure during `ALTER TABLE ADD COLUMN` on a complex inheritance tree (Tender Wang) [§](https:/...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
7b3d60e4-2481-5edd-a689-a505d6446d65
changelog
postgresql
postgresql
156
7
* Fix function volatility checking for `GENERATED` and `DEFAULT` expressions (Tom Lane) [§](https://postgr.es/c/9057ddbef) These places could fail to detect insertion of a volatile function default-argument expression, or decide that a polymorphic function is volatile although it is actually immutable on the datatyp...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
676e3a97-6be3-54c3-8d89-f82ca3d19ae2
changelog
postgresql
postgresql
156
8
We expand any out-of-line fields in a catalog tuple before inserting it into the catalog caches. That involves database access which might cause invalidation of catalog cache entries — but the new entry isn't in the cache yet, so we would miss noticing that it should get invalidated. The result is a race condition in...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
253efbe3-12ea-5cdb-bb09-99b133333545
changelog
postgresql
postgresql
156
9
Some cases that should cause an out-of-range error produced an incorrect result instead. * Add more checks for overflow in `interval_mul()` and `interval_div()` (Dean Rasheed) [§](https://postgr.es/c/2851aa7d1) Some cases that should cause an out-of-range error produced an incorrect result instead. * Ensure cached...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
54abd6bd-0d6d-5a48-9d3c-04e1c6fae4d8
changelog
postgresql
postgresql
156
10
Previously we could accept an index that has a different collation from the corresponding element of the partition key, possibly leading to misbehavior. * Avoid failure if a child index is dropped concurrently with `REINDEX INDEX` on a partitioned index (Fei Changhong) [§](https://postgr.es/c/a0c19de11) [§](https://p...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
446fed1c-6e8b-5538-bdf0-b0bacf5a862e
changelog
postgresql
postgresql
156
11
* Avoid failure with partitioned SP-GiST indexes (Tom Lane) [§](https://postgr.es/c/ab04c1901) Trying to use an index of this kind could lead to “No such file or directory” errors. * Fix ownership change reporting for large objects (Tom Lane) [§](https://postgr.es/c/7a99fb6e1) A no-op `ALTER LARGE OBJECT OWNER` c...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
3c73a538-0d06-50f6-9835-3417c5ba5224
changelog
postgresql
postgresql
156
12
If an operating system crash occurred during or shortly after `CREATE DATABASE`, recovery could fail, or subsequent connections to the new database could fail. If a base backup was taken in that window, similar problems could be observed when trying to use the backup. The symptom would be that the database directory,...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
55885763-00ad-58d7-8aff-ae3116031f2e
changelog
postgresql
postgresql
156
13
The `startedInRecovery` flag was not correctly set for a subtransaction. This affects only processing of dead index tuples. It could allow a query in a subtransaction to ignore index entries that it should return (if they are already dead on the primary server, but not dead to the standby transaction), or to prematur...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
f45954c2-0801-51b0-a34d-d6d650286cdd
changelog
postgresql
postgresql
156
14
One edge of the deadlock loop did not involve a lock wait, so the deadlock went undetected and would persist until manual intervention. * Ensure that column default values are correctly transmitted by the pgoutput logical replication plugin (Nikhil Benesch) [§](https://postgr.es/c/a77fb8c68) `ALTER TABLE ADD COLUM...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
7e49f092-d641-593b-b9ed-964ca61213ea
changelog
postgresql
postgresql
156
15
If decoding begins partway through a transaction that modifies system catalogs, the decoder may not recognize that, causing it to fail to treat that transaction as in-progress for catalog lookups. This fix deals with the case that a top-level transaction is already marked as containing catalog changes, but its subtra...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
53f638df-4028-5f8a-a3ca-e298533472de
changelog
postgresql
postgresql
156
16
Use the BIO “app\_data” field for our private storage, instead of assuming it's okay to use the “data” field. This mistake didn't cause problems before, but with 3.2 it leads to crashes and complaints about double frees. * Be more wary about OpenSSL not setting `errno` on error (Tom Lane) [§](https://postgr.es/c/551d...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
2935ac64-a1a8-5671-b84b-cf9e128890b4
changelog
postgresql
postgresql
156
17
Previously, such cases failed with parsing errors due to the semicolon(s) appearing in the function body. * Fix libpq's handling of errors in pipelines (Álvaro Herrera) [§](https://postgr.es/c/1171c6e74) [§](https://postgr.es/c/2b656cbd2) The pipeline state could get out of sync if an error is returned for reasons...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
cb1b6964-75c3-5ef4-bdd9-14a13891aa54
changelog
postgresql
postgresql
156
18
* Fix timing-dependent failure in GSSAPI data transmission (Tom Lane) [§](https://postgr.es/c/a50053777) When using GSSAPI encryption in non-blocking mode, libpq sometimes failed with “GSSAPI caller failed to retransmit all data needing to be retried”. * In pg\_dump, don't dump RLS policies or security labels for ex...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
143cb89c-537e-5b4e-b494-d44d61fe33fc
changelog
postgresql
postgresql
156
19
This conforms to the behavior for other dependent objects such as indexes. * Make it an error for a pgbench script to end with an open pipeline (Anthonin Bonnefoy) [§](https://postgr.es/c/3fd36be52) Previously, pgbench would behave oddly if a `\startpipeline` command lacked a matching `\endpipeline`. This seems li...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
88d52165-1fff-5f90-9ccf-da1ee336c6ec
changelog
postgresql
postgresql
156
20
* On Windows, suppress autorun options when launching subprocesses in pg\_ctl and pg\_regress (Kyotaro Horiguchi) [§](https://postgr.es/c/33d1be06a) [§](https://postgr.es/c/7e7d827f5) When launching a child process via `cmd.exe`, pass the `/D` flag to prevent executing any autorun commands specified in the registry....
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
4070be6b-fb35-5a5c-84cc-ddcf72075a74
changelog
postgresql
postgresql
156
21
Our preferred compiler options provoke warnings about constructs appearing in recent versions of Python's header files. When using gcc, we can suppress these warnings with a pragma. * Avoid deprecation warning when compiling with LLVM 18 (Thomas Munro) [§](https://postgr.es/c/67f7aaa38) * Update time zone data files ...
large_dataset/raw/changelog/postgresql_releases/postgresql_156.md
c3bdbc60-1367-5b8c-89e9-6ae8ef5b7a9f
changelog
postgresql
postgresql
157
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.7/ Version: 15.7 ## PostgreSQL 15.7 | E.9. Release 15.7 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-8.html "E.8. Release 15.8") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
26e53821-7e98-50d9-98b8-df1855c815c3
changelog
postgresql
postgresql
157
1
However, a security vulnerability was found in the system views `pg_stats_ext` and `pg_stats_ext_exprs`, potentially allowing authenticated database users to see data they shouldn't. If this is of concern in your installation, follow the steps in the first changelog entry below to rectify it. Also, if you are upgradin...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
09f029aa-73ae-5c86-98a0-1be38673be60
changelog
postgresql
postgresql
157
2
The PostgreSQL Project thanks Lukas Fittl for reporting this problem. (CVE-2024-4317) By itself, this fix will only fix the behavior in newly initdb'd database clusters. If you wish to apply this change in an existing cluster, you will need to do the following: 1. Find the SQL script `fix-CVE-2024-4317.sql` in ...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
17fdad50-961b-5452-8de6-e19a04587ab7
changelog
postgresql
postgresql
157
3
3. Do not forget to include the `template0` and `template1` databases, or the vulnerability will still exist in databases you create later. To fix `template0`, you'll need to temporarily make it accept connections. Do that with ```None ALTER DATABASE template0 WITH ALLOW_CONNECTIONS true; ``` an...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
ff0672d8-7e9c-5d8d-9e58-3fad3b83913a
changelog
postgresql
postgresql
157
4
`SELECT` privilege would be required in all practical cases anyway, but require it even if the query reads no columns of the target table. This avoids an edge case in which `MERGE` would require no privileges whatever, which seems undesirable even when it's a do-nothing command. * Fix handling of self-modified tuples...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
2f94f948-bd58-5418-8b29-723100e446b2
changelog
postgresql
postgresql
157
5
A NULL value satisfies a clause such as `boolcol IS NOT FALSE`, so pruning away a partition containing NULLs yielded incorrect answers. * Make `ALTER FOREIGN TABLE SET SCHEMA` move any owned sequences into the new schema (Tom Lane) [§](https://postgr.es/c/b48eda4e5) Moving a regular table to a new schema causes an...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
2c2df91e-5ce6-5aea-b8a1-63928595ad56
changelog
postgresql
postgresql
157
6
* Improve `ALTER TABLE ... ALTER COLUMN TYPE`'s error message when there is a dependent function or publication (Tom Lane) [§](https://postgr.es/c/5f4a1a0a7) [§](https://postgr.es/c/9b41d1d63) * In `CREATE DATABASE`, recognize strategy keywords case-insensitively for consistency with other options (Tomas Vondra) [§](ht...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
d748812b-5306-59ee-9689-99528d8b5f15
changelog
postgresql
postgresql
157
7
If the session that creates a temporary table crashes without removing the table, autovacuum will eventually try to remove the orphaned table. However, an incoming session that's been assigned the same temporary namespace will do that too. If a temporary table has a dependency (such as an owned sequence) then a deadl...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
39a4b7d9-3f6c-5b17-b4ed-634c20634306
changelog
postgresql
postgresql
157
8
This avoids possible crashes. * Ensure that join conditions generated from equivalence classes are applied at the correct plan level (Tom Lane) [§](https://postgr.es/c/5aacfa64e) In versions before PostgreSQL 16, it was possible for generated conditions to be evaluated below outer joins when they should be evaluat...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
ec0e06f7-6aba-5344-982c-6e5b97e1efd2
changelog
postgresql
postgresql
157
9
When a plain aggregate is used as a window function, and the window frame start is specified as `UNBOUNDED PRECEDING`, the frame's head cannot move so we do not need to use the special (and more expensive) moving-aggregate mode. This optimization was intended all along, but due to a coding error it never triggered. *...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
d3702dd0-7058-56ce-a9e5-157f135648c7
changelog
postgresql
postgresql
157
10
* Be more careful with `RECORD`-returning functions in `FROM` (Tom Lane) [§](https://postgr.es/c/09989ba84) [§](https://postgr.es/c/3b671dcf5) The output columns of such a function call must be defined by an `AS` clause that specifies the column names and data types. If the actual function output value doesn't match...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
9432cbdc-8ef2-5b27-9300-51b3f0febe6a
changelog
postgresql
postgresql
157
11
In the case where the source timestamp is before the origin timestamp and their difference is already an exact multiple of the stride, the code incorrectly subtracted the stride anyway. Also, detect some integer-overflow cases that would have produced incorrect results. * Detect integer overflow when adding or subtra...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
43e66a66-0ed0-5c44-9820-dc7b10370d3e
changelog
postgresql
postgresql
157
12
* Ensure that a table's freespace map won't return a page that's past the end of the table (Ronan Dunklau) [§](https://postgr.es/c/7c490a18b) Because the freespace map isn't WAL-logged, this was possible in edge cases involving an OS crash, a replica promote, or a PITR restore. The result would be a “could not read ...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
a4503ce4-3f25-578b-98f1-598bae28ef6f
changelog
postgresql
postgresql
157
13
* Ensure that index-only scans on `name` columns return a fully-padded value (David Rowley) [§](https://postgr.es/c/52f21f928) The value physically stored in the index is truncated, and previously a pointer to that value was returned to callers. This provoked complaints when testing under valgrind. In theory it coul...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
b3156c24-40c7-5802-9a71-4bf176d78b7c
changelog
postgresql
postgresql
157
14
It was once theoretically possible for us to operate with a socket that's in blocking mode; but that hasn't worked fully in a long time, so fail at connection start rather than misbehave later. * Fix inadequate error reporting with OpenSSL 3.0.0 and later (Heikki Linnakangas, Tom Lane) [§](https://postgr.es/c/0fe82e4...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
e532bc74-1e13-5ae5-9ea6-80f3cdcf33ff
changelog
postgresql
postgresql
157
15
* In ecpg, avoid issuing false “unsupported feature will be passed to server” warnings (Tom Lane) [§](https://postgr.es/c/f159f1814) * Ensure that the string result of ecpg's `intoasc()` function is correctly zero-terminated (Oleg Tselebrovskiy) [§](https://postgr.es/c/b5cb6022b) * In psql, avoid leaking a query result...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
ba0020d5-b4ff-5760-8c05-697329f7fef5
changelog
postgresql
postgresql
157
16
* Fix PL/pgSQL's parsing of single-line comments (`--`-style comments) following expressions (Erik Wienhold, Tom Lane) [§](https://postgr.es/c/d85db0a8e) This mistake caused parse errors if such a comment followed a `WHEN` expression in a PL/pgSQL `CASE` statement. * In `contrib/amcheck`, don't report false match fa...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
bf0632bf-d525-5c8c-a356-5b4956f488fb
changelog
postgresql
postgresql
157
17
* In `contrib/postgres_fdw`, avoid emitting requests to sort by a constant (David Rowley) [§](https://postgr.es/c/ab64b275a) This could occur in cases involving `UNION ALL` with constant-emitting subqueries. Sorting by a constant is useless of course, but it also risks being misinterpreted by the remote server, lead...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
8bc7c346-657e-563b-8291-67c9c069bc94
changelog
postgresql
postgresql
157
18
* Fix incompatibility with LLVM 18 (Thomas Munro, Dmitry Dolgov) [§](https://postgr.es/c/74992929a) * Allow `make check` to work with the musl C library (Thomas Munro, Bruce Momjian, Tom Lane) [§](https://postgr.es/c/3c3f4fd74) --- | | | | | --- | --- | --- | | [Prev](release-15-8.html "E.8. Release 15.8") | [Up](...
large_dataset/raw/changelog/postgresql_releases/postgresql_157.md
3dd6a1a4-402a-5064-8394-9e8500abbd3a
changelog
postgresql
postgresql
158
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.8/ Version: 15.8 ## PostgreSQL 15.8 | E.8. Release 15.8 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-9.html "E.7. Release 15.9") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
5b211112-7ad8-578b-b34d-59be617bea18
changelog
postgresql
postgresql
158
1
### E.8.2. Changes * Prevent unauthorized code execution during pg\_dump (Masahiko Sawada) [§](https://postgr.es/c/e81e53a0c) An attacker able to create and drop non-temporary objects could inject SQL code that would be executed by a concurrent pg\_dump session with the privileges of the role running pg\_dump (whic...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
8e16e8b3-d241-5306-999f-fc29f45aa551
changelog
postgresql
postgresql
158
2
After a disconnected standby server with an old running transaction reconnected to the primary, it was possible for `VACUUM` on the primary to get confused about which tuples are removable, resulting in an infinite loop. * Fix failure after attaching a table as a partition, if the table had previously had inheritance...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
4a3bb7c3-5f3d-5350-ac8d-706dec13ee4b
changelog
postgresql
postgresql
158
3
* Fix partition pruning setup during `ALTER TABLE DETACH PARTITION CONCURRENTLY` (Álvaro Herrera) [§](https://postgr.es/c/fb0fb0740) [§](https://postgr.es/c/03c8cdbb7) The executor assumed that no partition could be detached between planning and execution of a query on a partitioned table. This is no longer true sin...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
ff1c35c3-388a-58a5-aff3-48cf5764cd43
changelog
postgresql
postgresql
158
4
The SQL `CALL` statement did not resolve the correct data types for such arguments, leading to errors such as “cannot display a value of type anyelement”, or even outright crashes. (But `CALL` in PL/pgSQL worked correctly.) * Fix behavior of stable functions called from a `CALL` statement's argument list (Tom Lane) [...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
8ba67c09-4a3b-51ea-8fa6-b0c92513786b
changelog
postgresql
postgresql
158
5
These functions clamped their scale argument to +/-2000, but there are valid use-cases for it to be larger; the functions returned incorrect results in such cases. Instead clamp to the actual allowed range of type `numeric`. * Fix result for `pg_size_pretty()` when applied to the smallest possible `bigint` value (Jos...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
9166a33c-14d5-5aea-a3cb-717b276ecde5
changelog
postgresql
postgresql
158
6
Per the manual, punctuation in the input of `websearch_to_tsquery()` is ignored except for the special cases of dashes and quotes. However, parentheses and a few other characters appearing immediately before an `or` could cause `or` to be treated as a data word, rather than as an `OR` operator as expected. * Detect a...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
5ca0ba05-e08d-5b70-9028-16073766125b
changelog
postgresql
postgresql
158
7
An in-place update occurring while we expand out-of-line fields in a catalog tuple could be missed, leading to a catalog cache entry that lacks the in-place change but is not known to be stale. This is only possible in the `pg_database` catalog, so the effects are narrow, but misbehavior is possible. * Correctly chec...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
3ede4a9f-3cd7-5e07-9635-9f14163d3f72
changelog
postgresql
postgresql
158
8
* Lock owned sequences during `ALTER TABLE SET LOGGED|UNLOGGED` (Noah Misch) [§](https://postgr.es/c/24561b498) These commands change the persistence of a table's owned sequences along with the table, but they failed to acquire lock on the sequences while doing so. This could result in losing the effects of concurre...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
d9b57b2e-6ecb-5662-a958-ee2473b9c8f5
changelog
postgresql
postgresql
158
9
If an extension grants some column-level privileges on a table it creates, relevant catalog entries would remain behind after the extension is dropped. This was harmless until/unless the table's OID was re-used for another relation, when it could interfere with what pg\_dump dumps for that relation. * Fix selection o...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
33451140-e75a-5108-b90f-abe8717db30b
changelog
postgresql
postgresql
158
10
Permissions checks normally would prevent this case from arising, but it is possible to reach it by altering a parent table whose child is another session's temporary table. Throw an error if we discover that such a child table belongs to another session. * Fix handling of extended statistics on expressions in `CREAT...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
7bf00142-8cc1-5461-bf3d-6ee3f6ddbbae
changelog
postgresql
postgresql
158
11
In some cases the aggregate result computed at one row of the outer query could be re-used for later rows when it should not be. This has only been seen to happen when the outer query uses `DISTINCT` that is implemented with hash aggregation, but other cases may exist. * Avoid crashing when a JIT-inlined backend func...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
482036cf-6816-59f2-b35d-9793b7a0e6a4
changelog
postgresql
postgresql
158
12
Notably, we now suppress “chunk is not well balanced” errors from libxml2, unless that is the only reported error. This is to make error reports consistent between 2.13.x and earlier libxml2 versions. In earlier versions, that message was almost always redundant or outright incorrect, so 2.13.x substantially reduced ...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
2c6e699e-9af5-566c-ad49-8f4a45004aeb
changelog
postgresql
postgresql
158
13
* Prevent incorrect initialization of logical replication slots (Masahiko Sawada) [§](https://postgr.es/c/aee8c2b95) In some cases a replication slot's start point within the WAL stream could be set to a point within a transaction, leading to assertion failures or incorrect decoding results. * Avoid “can only drop s...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
28f2d138-59c7-5f4f-9125-f368ceb03651
changelog
postgresql
postgresql
158
14
The processing functions for these events could switch the current memory context to TopMemoryContext, resulting in session-lifespan leakage of any data allocated before the incorrect setting gets replaced. There were observable leaks associated with (at least) encoding conversion of incoming queries and parameters a...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md
9f0d818f-8fd5-5d9b-897f-56f6dcd724de
changelog
postgresql
postgresql
158
15
* Avoid possibly missing end-of-input events on Windows sockets (Thomas Munro) [§](https://postgr.es/c/5546a834c) Windows reports an FD\_CLOSE event only once after the remote end of the connection disconnects. With unlucky timing, we could miss that report and wait indefinitely, or at least until a timeout elapsed,...
large_dataset/raw/changelog/postgresql_releases/postgresql_158.md