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
da0e6229-6ed3-552b-9eb7-05943d008e43
changelog
postgresql
postgresql
1418
5
If a domain type has a default, adding a column of that type (without any explicit `DEFAULT` clause) failed to install the domain's default value in existing rows, instead leaving the new column null. * Improve the error message for disallowed attempts to alter the properties of a foreign key constraint (Álvaro Herre...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
483070f3-241c-52e7-88bb-c5eaf807665a
changelog
postgresql
postgresql
1418
6
* Disable “skip fetch” optimization in bitmap heap scan (Matthias van de Meent) [§](https://postgr.es/c/4934d3875) It turns out that this optimization can result in returning dead tuples when a concurrent vacuum marks a page all-visible. * Fix performance issues in GIN index search startup when there are many search...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
bd50e99f-b559-53d7-a2f7-5cf24774fb70
changelog
postgresql
postgresql
1418
7
* Fix race condition in handling of `synchronous_standby_names` immediately after startup (Melnikov Maksim, Michael Paquier) [§](https://postgr.es/c/873aff945) For a short period after system startup, backends might fail to wait for synchronous commit even though `synchronous_standby_names` is enabled. * Fix `pg_str...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
5f40a85b-f2dd-5a9d-a1ef-a1ba596cca65
changelog
postgresql
postgresql
1418
8
This change back-patches v15-era fixes that were considered largely cosmetic at the time, but turn out to prevent data corruption in the wake of subsequent fixes. * Prevent over-advancement of catalog xmin in “fast forward” mode of logical decoding (Zhijie Hou) [§](https://postgr.es/c/1f63b3626) This mistake could...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
eb3523ad-2dab-5a70-a0fb-0f63a8605d4d
changelog
postgresql
postgresql
1418
9
* Avoid duplicate snapshot creation in logical replication index lookups (Heikki Linnakangas) [§](https://postgr.es/c/2ef048855) [§](https://postgr.es/c/136e68b46) * Fix assertion failure in snapshot building (Masahiko Sawada) [§](https://postgr.es/c/7be51eb4e) * Fix overly-strict assertion in `gistFindCorrectParent()`...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
a2d67182-9ae8-5166-8f00-92e22de3236c
changelog
postgresql
postgresql
1418
10
The server rejects such `DROP` commands. That has no real consequences, since the partitions will go away anyway in the subsequent `DROP`s of either their parent tables or their partitioned index. However, the error reported for the attempted drop causes problems when restoring in `--single-transaction` mode. * In pg...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
cfeba248-82f8-586d-8bf0-9e57f3b4097c
changelog
postgresql
postgresql
1418
11
* Allow `contrib/dblink` queries to be interrupted by query cancel (Noah Misch) [§](https://postgr.es/c/a8a918937) [§](https://postgr.es/c/aa435d7c4) This change back-patches a v17-era fix. It prevents possible hangs in `CREATE DATABASE` and `DROP DATABASE` due to failure to detect deadlocks. * Avoid crashing with c...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
4fcf261b-7024-537e-be63-54214bb0588c
changelog
postgresql
postgresql
1418
12
* Update time zone data files to tzdata release 2025b for DST law changes in Chile, plus historical corrections for Iran (Tom Lane) [§](https://postgr.es/c/fa4244a43) There is a new time zone America/Coyhaique for Chile's Aysén Region, to account for it changing to UTC-03 year-round and thus diverging from America/S...
large_dataset/raw/changelog/postgresql_releases/postgresql_1418.md
8dafe4aa-68ee-5e25-ae83-1e7dec83fb6e
changelog
postgresql
postgresql
1419
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.19/ Version: 14.19 ## PostgreSQL 14.19 | E.2. Release 14.19 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-20.html "E.1. Release 14.20") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
76fd355e-63a5-589b-99e6-f3b21286a967
changelog
postgresql
postgresql
1419
1
Also, if you are upgrading from a version earlier than 14.18, see [Section E.3](release-14-18.html "E.3. Release 14.18"). ### E.2.2. Changes * Tighten security checks in planner estimation functions (Dean Rasheed) [§](https://postgr.es/c/afe38fb6a) The fix for CVE-2017-7484, plus followup fixes, intended to preven...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
2113c47b-f2b2-58a9-9900-184f64a13a34
changelog
postgresql
postgresql
1419
2
The other gap applies to cases where the query accesses a table via a view, and the view owner has permissions to read the underlying table but the calling user does not have permissions on the view. The view owner's permissions satisfied the security checks, and the leaky function would get applied to the underlying...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
cb4bde0d-c4e8-5cfe-a4e1-42d550f046a6
changelog
postgresql
postgresql
1419
3
Since dump/restore operations typically involve running SQL commands as superuser, the target database installation must trust the source server. However, it does not follow that the operating system user who executes psql to perform the restore should have to trust the source server. The risk here is that an attacke...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
59f1ef12-6f93-5f27-8927-49ad4450146d
changelog
postgresql
postgresql
1419
4
* Convert newlines to spaces in names included in comments in pg\_dump output (Noah Misch) [§](https://postgr.es/c/0f5838438) 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_1419.md
44dfd9d2-7169-5e6c-8f81-11ee3ad89352
changelog
postgresql
postgresql
1419
5
The results were sometimes wrong on 64-bit platforms, and wildly wrong on 32-bit platforms. This did not produce obvious failures because the logic is only used to choose how to merge values into ranges; at worst the index would become inefficient and bloated. Nonetheless it's recommended to reindex any BRIN indexes ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
a5456133-36a5-59d3-8865-5c0d1f5d0368
changelog
postgresql
postgresql
1419
6
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 maintain a separate transition table for each such child table. But that problem does not apply for statement-level triggers, because only the pare...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
02bedaed-138a-5384-b45a-d0dbdd412df7
changelog
postgresql
postgresql
1419
7
* Fix a potential deadlock during `ALTER SUBSCRIPTION ... DROP PUBLICATION` (Ajin Cherian) [§](https://postgr.es/c/41fb3f51c) Ensure that server processes acquire catalog locks in a consistent order during replication origin drops. * Shorten the race condition window for creating indexes with conflicting names (Tom ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
50b30371-4dea-5a6c-bf63-b686324f9939
changelog
postgresql
postgresql
1419
8
* 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/c079ba3fc) 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_1419.md
e1b370b6-69fa-5f20-89e5-7f2af7f4a59b
changelog
postgresql
postgresql
1419
9
* Limit the checkpointer process's fsync request queue size (Alexander Korotkov, Xuneng Zhou) [§](https://postgr.es/c/50026136c) [§](https://postgr.es/c/c5d66fc12) 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_1419.md
f9636ab0-d8c1-5070-b1c5-097576640999
changelog
postgresql
postgresql
1419
10
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_1419.md
1d2d0b3a-4ef6-5649-b55c-b81c8d23c417
changelog
postgresql
postgresql
1419
11
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_1419.md
8d77a64c-9877-5198-985e-2174e76d58b4
changelog
postgresql
postgresql
1419
12
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_1419.md
26f00bde-a9fa-597f-888a-8f2490fbaf72
changelog
postgresql
postgresql
1419
13
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/25cab4473) [§](https://postgr.es/c/e902f8181) * Remove faulty assertion that a command tag must have been...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
ec1763da-2ca9-5786-ae12-810425ca9a3f
changelog
postgresql
postgresql
1419
14
* Fix edge-case resource leaks in PL/Python error reporting (Tom Lane) [§](https://postgr.es/c/31a3a15fa) [§](https://postgr.es/c/d4556f592) 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_1419.md
1596c09a-e4da-5da3-9443-1d0feb0b2cfc
changelog
postgresql
postgresql
1419
15
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_1419.md
c3a40b72-a73f-58bc-922e-eca08bb45e80
changelog
postgresql
postgresql
1419
16
The same completions were offered for both `COPY FROM` and `COPY TO`, although some options are only valid for one case or the other. Distinguish these cases to provide more accurate suggestions. * Ensure that pg\_dump dumps comments on domain constraints in a valid order (Jian He) [§](https://postgr.es/c/e04aca1c4) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
10a86812-c7ce-501e-8c72-2237014baae7
changelog
postgresql
postgresql
1419
17
pg\_dump sorts objects by their logical names before performing dependency-driven reordering. This sort did not account for the full unique key identifying certain object types such as rules and constraints, and thus it could produce dissimilar sort orders for logically-identical databases. That made it difficult to ...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
afe090ba-7381-5423-881e-2d0f19d08ca8
changelog
postgresql
postgresql
1419
18
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_1419.md
fbc2a64f-f752-5c16-9343-e12d73f323fa
changelog
postgresql
postgresql
1419
19
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/8a1459f62) * Fix memory leakage in `contrib/pos...
large_dataset/raw/changelog/postgresql_releases/postgresql_1419.md
58949f62-3005-5abb-81cc-719a3a82b6d4
changelog
postgresql
postgresql
1419
20
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_1419.md
6b3bec08-9053-5b3d-baec-086ac6a21082
changelog
postgresql
postgresql
1419
21
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_1419.md
dde9f02c-50e7-5def-8ec2-35433ebb545c
changelog
postgresql
postgresql
1419
22
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_1419.md
b8473e09-5131-5997-9ac6-7520fcdd0e47
changelog
postgresql
postgresql
142
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.2/ Version: 14.2 ## PostgreSQL 14.2 | E.19. Release 14.2 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-3.html "E.18. Release 14.3") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
9600664d-575d-5aee-8e3a-d4615861c194
changelog
postgresql
postgresql
142
1
However, some bugs have been found that may have resulted in corrupted indexes, as explained in the first two 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 14.1, see [Section E.20](rele...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
3a8b2116-d6ec-5e07-bfbc-4a3f89683b99
changelog
postgresql
postgresql
142
2
* Fix corruption of HOT chains when a RECENTLY\_DEAD tuple changes state to fully DEAD during page pruning (Andres Freund) [§](https://postgr.es/c/dad1539ae) It was possible for `VACUUM` to remove a recently-dead tuple while leaving behind a redirect item that pointed to it. When the tuple's item slot is later re-us...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
f10411eb-d297-5813-803d-0d4506b21297
changelog
postgresql
postgresql
142
3
* Avoid null-pointer crash in `ALTER STATISTICS` when the statistics object is dropped concurrently (Tomas Vondra) [§](https://postgr.es/c/a192243c7) * Correctly handle alignment padding when extracting a range from a multirange (Alexander Korotkov) [§](https://postgr.es/c/7615edd1d) This error could cause crashes w...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
85e7a746-bb6b-5dc8-a1b0-fa565b9dfd18
changelog
postgresql
postgresql
142
4
If an index has both returnable and non-returnable columns, and one of the non-returnable columns is an expression using a table column that appears in a returnable index column, then a query using that expression could result in an index-only scan plan that attempts to read the non-returnable column, instead of reco...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
ff37260d-e444-5561-9aaf-1ca00ec6978e
changelog
postgresql
postgresql
142
5
* Fix checking of `anycompatible`-family data type matches (Tom Lane) [§](https://postgr.es/c/c025067f6) In some cases the parser would think that a function or operator with `anycompatible`-family polymorphic parameters matches a set of arguments that it really shouldn't match. In reported cases, that led to matchi...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
38067caf-ee48-502a-b6d1-b21473b6c649
changelog
postgresql
postgresql
142
6
If a replica server is started while the set of active transactions on the primary crosses a wraparound boundary (so that there are some newer transactions with smaller XIDs than older ones), the replica would fail with “out-of-order XID insertion in KnownAssignedXids”. The replica would retry, but could never get pa...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
37b6fa8e-9529-5c67-a318-59e772eaf192
changelog
postgresql
postgresql
142
7
The walsender process would fail for a SQL command containing an unquoted semicolon, or with dollar-quoted literals containing odd numbers of single or double quote marks, or when the SQL command starts with a comment. Moreover, faulty error recovery could lead to unexpected errors in later commands too. * Ensure tha...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
24d8cf83-3900-5ab9-8d54-c2695399be4e
changelog
postgresql
postgresql
142
8
A previous bug fix disabled building of extended statistics for old-style inheritance trees, but it also prevented building them for partitioned tables, which was an unnecessary restriction. This change allows `ANALYZE` to compute values for statistics objects for partitioned tables. (But note that autovacuum does no...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
69f8458a-2f98-5588-9b5a-675ac78bb32e
changelog
postgresql
postgresql
142
9
This restriction has long existed for regular tables, but through an oversight it was not checked for partitioned tables. * Disallow `ALTER TABLE ... DROP NOT NULL` for a column that is part of a replica identity index (Haiying Tang, Hou Zhijie) [§](https://postgr.es/c/e415916e2) The same prohibition already exist...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
349f5c35-b1a7-5fa2-a787-fb3376bade09
changelog
postgresql
postgresql
142
10
* Fix failure of SP-GiST indexes when the indexed column's data type is binary-compatible with the declared input type of the operator class (Tom Lane) [§](https://postgr.es/c/6d07cbc50) Such cases should work, but failed with “compress method must be defined when leaf type is different from input type”. * Allow par...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
029e9e5c-ff39-5ab6-a290-5818acad9349
changelog
postgresql
postgresql
142
11
* Improve performance of walsenders sending logical changes by avoiding unnecessary cache accesses (Hou Zhijie) [§](https://postgr.es/c/5ddfebded) * Fix display of `cert` authentication method's options in `pg_hba_file_rules` view (Magnus Hagander) [§](https://postgr.es/c/4afae689e) The `cert` authentication method ...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
55773b64-5b9b-5d60-a742-a4d1554cd8a6
changelog
postgresql
postgresql
142
12
A whole-row variable would be printed as “var.\*”, but that allows it to be expanded to individual columns when the rule is reloaded, resulting in different semantics. Attach an explicit cast to prevent that, as we do elsewhere. * When reverse-listing a SQL-standard function body, display function parameters appropri...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
2331e631-34d3-54bc-b24f-9c46c5f33b85
changelog
postgresql
postgresql
142
13
These errors should affect only debug builds, not production. * Fix race condition that could lead to failure to localize error messages that are reported early in multi-threaded use of libpq or ecpglib (Tom Lane) [§](https://postgr.es/c/f4ebf0dbe) * Avoid calling `strerror` from libpq's `PQcancel` function (Tom Lane...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
8cbed718-c96e-587a-93f3-4fb2a1b435b1
changelog
postgresql
postgresql
142
14
This agrees with the documented behavior, and avoids probable permissions failure if `SET ROLE` or `SET SESSION AUTHORIZATION` has been done since the session began. To prevent confusion, the role name to be acted on is now included in the password prompt. * Fix psql `\d` command's query for identifying parent trigge...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
2370eeac-c813-5b47-836f-40d65c3ddc87
changelog
postgresql
postgresql
142
15
* Fix failures on Windows when using the terminal as data source or destination (Dmitry Koval, Juan José Santamaría Flecha, Michael Paquier) [§](https://postgr.es/c/d2198b459) [§](https://postgr.es/c/5550a9c38) This affects psql's `\copy` command, as well as pg\_recvlogical with `-f -`. * In psql and some other clie...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
26484b8c-fa69-5273-823d-eee84e1131b7
changelog
postgresql
postgresql
142
16
* Fix pg\_dump's `--inserts` and `--column-inserts` modes to handle tables containing both generated columns and dropped columns (Tom Lane) [§](https://postgr.es/c/aedc4600d) [§](https://postgr.es/c/72842a575) * Fix possible mis-reporting of errors in pg\_dump and pg\_basebackup (Tom Lane) [§](https://postgr.es/c/53c4a...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
0602cd1c-6d1d-5b81-9fa1-9e49d1aea74d
changelog
postgresql
postgresql
142
17
Index-only scans returned column values with trailing spaces removed, which is not the expected behavior. That happened because that's how the data was stored in the index. This fix changes the code to store `char(N)` values with the expected amount of space padding. The behavior of such an index will not change imme...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
892c948e-18ad-5911-90f6-3960bbfe255e
changelog
postgresql
postgresql
142
18
With Python 3.10, this avoids configure-time warnings about distutils being deprecated and scheduled for removal in Python 3.12. Presumably, once 3.12 is out, `configure --with-python` would fail altogether. This future-proofing does come at a cost: sysconfig did not exist before Python 2.7, nor before 3.2 in the Pyt...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
aa38f0f6-0876-5eae-a126-57893bccf46b
changelog
postgresql
postgresql
142
19
* Allow the `.bat` wrapper scripts in our MSVC build system to be called without first changing into their directory (Anton Voloshin, Andrew Dunstan) [§](https://postgr.es/c/a7772e874) [§](https://postgr.es/c/156a846d9) --- | | | | | --- | --- | --- | | [Prev](release-14-3.html "E.18. Release 14.3") | [Up](release...
large_dataset/raw/changelog/postgresql_releases/postgresql_142.md
5e8bf4c2-785f-514e-8067-2562a780975f
changelog
postgresql
postgresql
1420
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.20/ Version: 14.20 ## PostgreSQL 14.20 | E.1. Release 14.20 | | | | | | --- | --- | --- | --- | --- | | [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_1420.md
a87ebfc9-5267-502e-bae7-5afaef04653c
changelog
postgresql
postgresql
1420
1
### E.1.2. Changes * Check for `CREATE` privileges on the schema in `CREATE STATISTICS` (Jelte Fennema-Nio) [§](https://postgr.es/c/95cce5669) This omission allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts. The PostgreSQL Project thanks Jelte Fennema-Nio...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
da2d3a59-cce0-587a-9dbe-8b2de8d6d0cb
changelog
postgresql
postgresql
1420
2
The previous fix for translating `SIMILAR TO` pattern matching expressions to POSIX-style regular expressions broke a corner case that formerly worked: if there is an escape character right after the opening bracket and then a closing bracket right after the escape sequence (for example `[\w]`), the closing bracket w...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
4d424b91-e109-5d95-932a-d1ae4a766849
changelog
postgresql
postgresql
1420
3
* Fix possible infinite loop in GIN index scans with multiple scan conditions (Tom Lane) [§](https://postgr.es/c/4a593043e) GIN can handle scan conditions that can reject non-matching entries but are not useful for searching for relevant entries, for example a `tsquery` clause like `!term`. But such a condition must...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
6e90a126-ce1c-5a07-9904-fd49e6e076be
changelog
postgresql
postgresql
1420
4
Previously, autosummarization would fail for such indexes, and then leave placeholder index tuples behind, causing the index to bloat over time. * Fix integer-overflow hazard in BRIN index scans when the table contains close to 232 pages (Sunil S) [§](https://postgr.es/c/eea24eb0a) This oversight could result in a...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
1f2e0865-453d-54cc-b4a3-b105bf4a06c4
changelog
postgresql
postgresql
1420
5
* Add missing EvalPlanQual rechecks for TID Scan and TID Range Scan plan nodes (Sophie Alpert, David Rowley) [§](https://postgr.es/c/f78a69034) [§](https://postgr.es/c/2eb7ea97d) This omission led to possibly not rechecking a condition on `ctid` during concurrent-update situations, causing the update's behavior to v...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
4d3719ba-4f72-581c-b793-c0a37151a5bb
changelog
postgresql
postgresql
1420
6
`ALTER TABLE DETACH PARTITION CONCURRENTLY` was written to add a copy of the partitioning constraint to the now-detached partition. This was misguided, partially because non-concurrent `DETACH` doesn't do that, but mostly because in the case of hash partitioning the constraint expression contains references to the pa...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
01678d4e-0867-5d86-96b4-78afba085412
changelog
postgresql
postgresql
1420
7
Previously, incorrect behavior or an obscure error message resulted from attempting to reference such a column, since generated columns have not yet been computed at the point where `WHERE` filtering is done. * Fix visibility checking for statistics objects in `pg_temp` (Noah Misch) [§](https://postgr.es/c/5816baa9b)...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
589cae31-a393-5dc1-b70b-d57da4b11a09
changelog
postgresql
postgresql
1420
8
* Add missing replica identity checks in `MERGE` and `INSERT ... ON CONFLICT DO UPDATE` (Zhijie Hou) [§](https://postgr.es/c/5fd569ef2) [§](https://postgr.es/c/ea65c8823) If `MERGE` may require update or delete actions, and the target table publishes updates or deletes, insist that it have a `REPLICA IDENTITY` defin...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
4859a34e-4e53-52b7-aef9-e7c96f6e3c5f
changelog
postgresql
postgresql
1420
9
* Avoid duplicative log messages about invalid `primary_slot_name` settings (Fujii Masao) [§](https://postgr.es/c/f106f53df) * Remove the unfinished slot state file after failing to write a replication slot's state to disk (Michael Paquier) [§](https://postgr.es/c/f57f2760e) Previously, a failure such as out-of-disk...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
67e4c534-65b3-58e2-9c22-ad30d0817532
changelog
postgresql
postgresql
1420
10
* Avoid failures in logical replication due to chance collisions of file numbers between regular and temporary tables (Vignesh C) [§](https://postgr.es/c/222130edd) This low-probability problem manifested as transient errors like “unexpected duplicate for tablespace *`X`*, relfilenode *`Y`*”. `contrib/autoprewarm` w...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
e39a799c-1ab3-538e-9b25-0e326b00f42e
changelog
postgresql
postgresql
1420
11
* 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/b3d6e8b63) If the pre-existing set has fewer semaphores than we asked for, these platforms return EINVAL not EEXIST as our code expected, resulting in failure to start the...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
c8cf545f-6306-5e2b-bfde-d9a24d719c68
changelog
postgresql
postgresql
1420
12
On platforms where `char` is considered signed, the output included unsightly `\xffffff` decoration. * Fix libpq's handling of socket-related errors on Windows within its GSSAPI logic (Ning Wu, Tom Lane) [§](https://postgr.es/c/f46d77377) The code for encrypting/decrypting transmitted data using GSSAPI did not cor...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
b83c9f42-a9c8-5957-966a-2a845b9362c7
changelog
postgresql
postgresql
1420
13
* In pg\_dump, label comments for separately-dumped domain constraints with the proper dependency (Noah Misch) [§](https://postgr.es/c/85d6ed31f) This error could lead to parallel pg\_restore attempting to create the comment before the constraint itself has been restored. * In pg\_restore, skip comments and security...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
f7d229f7-bd7d-551b-b767-620a1e0ce4cb
changelog
postgresql
postgresql
1420
14
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_1420.md
18983e25-4204-5d15-952c-52c5965fe505
changelog
postgresql
postgresql
1420
15
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/f146eb45c) `pg_prewarm()` requires `SELECT` privilege on relations to be prewarmed. However, since indexes have no...
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
dc43bb44-de77-5efb-bc69-0274d8523446
changelog
postgresql
postgresql
1420
16
* Harden our read and write barrier macros to satisfy Clang (Thomas Munro) [§](https://postgr.es/c/d8ba910b0) 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_1420.md
129628b5-aae7-569a-a3a2-9a69b318a712
changelog
postgresql
postgresql
1420
17
[Return to the Release Notes Archive](/docs/release/)
large_dataset/raw/changelog/postgresql_releases/postgresql_1420.md
019508cc-6702-511c-ab64-87deeca16503
changelog
postgresql
postgresql
143
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.3/ Version: 14.3 ## PostgreSQL 14.3 | E.18. Release 14.3 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-4.html "E.17. Release 14.4") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
22f5c76d-9c72-534e-81e0-c280ffffdadf
changelog
postgresql
postgresql
143
1
However, if you have any GiST indexes on columns of type `ltree` (supplied by the `contrib/ltree` extension), you should re-index them after updating. See the second changelog entry below. Also, if you are upgrading from a version earlier than 14.2, see [Section E.19](release-14-2.html "E.19. Release 14.2"). ### E.18...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
bde43995-ce05-5884-b8d5-a8b01fbcb7cc
changelog
postgresql
postgresql
143
2
The PostgreSQL Project thanks Alexander Lakhin for reporting this problem. (CVE-2022-1552) * Fix default signature length for `gist_ltree_ops` indexes (Tomas Vondra, Alexander Korotkov) [§](https://postgr.es/c/7d30f59da) The default signature length (hash size) for GiST indexes on `ltree` columns was accidentally ...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
2c3b39ef-d0dc-5d39-a7cb-a426c6461a22
changelog
postgresql
postgresql
143
3
The column names in tuples produced by a whole-row variable (such as `tbl.*` in contexts other than the top level of a `SELECT` list) are now always those of the associated named composite type, if there is one. We'd previously attempted to make them track any column aliases that had been applied to the `FROM` entry ...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
c96b252e-b75f-5c36-b568-81da06a7fcf3
changelog
postgresql
postgresql
143
4
* Fix incorrect roundoff when extracting epoch values from intervals (Peter Eisentraut) [§](https://postgr.es/c/7a8d8219c) The new `numeric`-based code for `EXTRACT()` failed to yield results equivalent to the old `float`-based code, as a result of accidentally truncating the `DAYS_PER_YEAR` value to an integer. * D...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
086f4562-68bd-5a02-b30c-2a86b4ffec20
changelog
postgresql
postgresql
143
5
* Fix planner failure when a Result plan node appears immediately underneath an Append node (Etsuro Fujita) [§](https://postgr.es/c/ebb790241) Recently-added code to support asynchronous remote queries failed to handle this case, leading to crashes or errors about unrecognized node types. * Fix planner failure if a ...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
234837a0-46b5-5f56-873e-f9a7253c8848
changelog
postgresql
postgresql
143
6
The previous coding could try to read non-returnable columns in addition to the returnable ones. This was fairly harmless because it didn't actually do anything with the bogus values, but it fell foul of a recently-added error check that rejected such a plan. * Avoid accessing a no-longer-pinned shared buffer while a...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
a9bc958b-5885-58c4-bce4-75456da9dfe0
changelog
postgresql
postgresql
143
7
The parallelism property change was lost if the same command also updated the function's `SET` clause. * Tighten lookup of the index “owned by” a constraint (Tom Lane, Japin Li) [§](https://postgr.es/c/8dcd1c356) Some code paths mistook the index depended on by a foreign key constraint for one owned by a unique or...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
619f783e-0aff-5d5c-889c-99fb6891eda9
changelog
postgresql
postgresql
143
8
* Prevent data loss if a system crash occurs shortly after a sorted GiST index build (Heikki Linnakangas) [§](https://postgr.es/c/7d80e93fb) The code path for building GiST indexes using sorting neglected to `fsync` the file upon completion. This could result in a corrupted index if the operating system crashed shor...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
6daa0fa0-aee3-539f-8b2b-f6e21bf63998
changelog
postgresql
postgresql
143
9
The checkpoint forced by `DROP TABLESPACE` could sometimes fail to remove all dead files from the tablespace's directory, leading to a bogus “tablespace is not empty” error. * Fix possible trouble in crash recovery after a `TRUNCATE` command that overlaps a checkpoint (Kyotaro Horiguchi, Heikki Linnakangas, Robert Ha...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
357510aa-636f-5a6e-8459-c51b7b74378c
changelog
postgresql
postgresql
143
10
* Re-allow underscore as the first character in a custom parameter name (Japin Li) [§](https://postgr.es/c/dd7c05979) Such names were unintentionally disallowed in v14. * Add `regress` option for the `compute_query_id` parameter (Michael Paquier) [§](https://postgr.es/c/627c79a1e) This is intended to facilitate t...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
c01fdbe8-7005-52b6-8ad2-a2cba61575c9
changelog
postgresql
postgresql
143
11
* Wake up for latch events when the checkpointer is waiting between writes (Thomas Munro) [§](https://postgr.es/c/78c0f85e4) [§](https://postgr.es/c/ea70f6945) This improves responsiveness to backends sending sync requests. The change also creates a proper wait event class for these waits. * Fix “PANIC: xlog flush r...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
56ed8b30-ed7b-5406-875c-93aa9edbd73b
changelog
postgresql
postgresql
143
12
If `publish_via_partition_root` is enabled, and there are multiple publications naming different ancestors of the currently-modified relation, the wrong ancestor might be chosen for reporting the change. * Ensure that logical replication apply workers can be restarted even when we're up against the `max_sync_workers_...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
5f0f4bae-e0de-510a-a46d-a9130e27f086
changelog
postgresql
postgresql
143
13
Few platforms are like this (the only supported one is Cygwin), so we'd managed not to notice that refactoring introduced a potential memory clobber. * Make the server more robust against missed timer interrupts (Michael Harris, Tom Lane) [§](https://postgr.es/c/2e211c166) An optimization added in v14 meant that i...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
2836b0cc-4e01-56b4-b352-e649c8ece2cc
changelog
postgresql
postgresql
143
14
Perl can be convinced to execute user-defined code during compilation of a PL/Perl function. However, it's not okay for such code to try to invoke SQL operations via SPI. That results in a crash, and if it didn't crash it would be a security hazard, because we really don't want code execution during function validati...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
ab7962ce-a8a4-5d56-9c36-4da04479a4f0
changelog
postgresql
postgresql
143
15
If we'd detected a write failure, `PQisBusy()` would always return true, which is the wrong thing: we want input processing to carry on normally until we've read whatever is available from the server. The practical effect of this error is that applications using libpq's async-query API would typically detect connecti...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
69bf23d2-6443-51d9-a882-bcbb7a1fb4ec
changelog
postgresql
postgresql
143
16
* Make pg\_ctl recheck postmaster aliveness while waiting for stop/restart/promote actions (Tom Lane) [§](https://postgr.es/c/1e8c5cf7c) pg\_ctl would verify that the postmaster is alive as a side-effect of sending the stop or promote signal, but then it just naively waited to see the on-disk state change. If the po...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
263cacaf-e635-542a-9676-0d1920435d77
changelog
postgresql
postgresql
143
17
* Ensure that `contrib/pageinspect` functions cope with all-zero pages (Michael Paquier) [§](https://postgr.es/c/df6bbe73b) This is a legitimate edge case, but the module was mostly unprepared for it. Arrange to return nulls, or no rows, as appropriate; that seems more useful than raising an error. * In `contrib/pag...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
b2aebc14-e8f9-5e5d-aee5-9be1c1dae400
changelog
postgresql
postgresql
143
18
Such a trigger might query the table it's on and expect to see previously-inserted rows. With batch insertion, those rows might not be visible yet, so disable the feature to avoid unexpected behavior. * In `contrib/postgres_fdw`, verify that `ORDER BY` clauses are safe to ship before requesting a remotely-ordered que...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
fc9303da-6a46-5943-97ac-d6286af231c8
changelog
postgresql
postgresql
143
19
* Clean up assorted failures under clang's `-fsanitize=undefined` checks (Tom Lane, Andres Freund, Zhihong Yu) [§](https://postgr.es/c/b0bc196e5) [§](https://postgr.es/c/5c9d17e94) [§](https://postgr.es/c/81045e1e1) [§](https://postgr.es/c/89a94c24a) [§](https://postgr.es/c/e52e9bd57) Most of these changes are just ...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
62781e51-99d2-531d-be54-239db37ce64d
changelog
postgresql
postgresql
143
20
This adapts the build process to work on recent MSys tool chains. * Prevent extra expansion of shell wildcard patterns in programs built under MinGW (Andrew Dunstan) [§](https://postgr.es/c/71f394667) For some reason the C library provided by MinGW will expand shell wildcard characters in a program's command-line ...
large_dataset/raw/changelog/postgresql_releases/postgresql_143.md
e84de6be-4392-5d98-9b4c-f49abbc2a3d8
changelog
postgresql
postgresql
144
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.4/ Version: 14.4 ## PostgreSQL 14.4 | E.17. Release 14.4 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-5.html "E.16. Release 14.5") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
51475256-c42c-5c85-af6d-107c6cba1cf8
changelog
postgresql
postgresql
144
1
Also, if you are upgrading from a version earlier than 14.3, see [Section E.18](release-14-3.html "E.18. Release 14.3"). ### E.17.2. Changes * Prevent possible corruption of indexes created or rebuilt with the `CONCURRENTLY` option (Álvaro Herrera) [§](https://postgr.es/c/042b584c7) An optimization added in v14 ca...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
c6639555-1315-5cd5-8fef-8604eefed14c
changelog
postgresql
postgresql
144
2
This mistake could lead to Memoize being used when it isn't really the best plan, or to very long executor startup times due to initializing an overly-large hash table for a Memoize node. * Fix queries in which a “whole-row variable” references the result of a function that returns a domain over composite type (Tom L...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
07b1d714-07bb-547d-a05d-cde43bdffbc9
changelog
postgresql
postgresql
144
3
* Avoid crashing if too many column aliases are attached to an `XMLTABLE` or `JSON_TABLE` construct (Álvaro Herrera) [§](https://postgr.es/c/94edb85d2) [§](https://postgr.es/c/e8b93c6e2) * When decompiling a view or rule, show a `SELECT` output column's `AS "?column?"` alias clause if it could be referenced elsewhere (...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
b5a0cb02-dffc-5869-916a-4d39d80f5ea3
changelog
postgresql
postgresql
144
4
Previously, when the restartpoint completed it could incorrectly update the last-checkpoint fields of the control file, potentially leading to PANIC and failure to restart if the server crashes before the next normal checkpoint completes. * Prevent triggering of standby's `wal_receiver_timeout` during logical replica...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
166f3cba-cab1-5e5f-8529-a3454babb229
changelog
postgresql
postgresql
144
5
Previously, although extensions could choose to create such settings, some code paths would crash while processing them. * Remove misguided SSL key file ownership check in libpq (Tom Lane) [§](https://postgr.es/c/b4be4a082) In the previous minor releases, we copied the server's permission checking rules for SSL pr...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
2f021f39-2a3a-5972-9ff2-4e1434cb0dd3
changelog
postgresql
postgresql
144
6
Misprocessing of a libpq-generated error result, such as a report of lost connection, would lead to a crash. * Adjust PL/Perl test case so it will work under Perl 5.36 (Dagfinn Ilmari Mannsåker) [§](https://postgr.es/c/1072e4c45) * Avoid incorrectly using an out-of-date libldap\_r library when multiple OpenLDAP insta...
large_dataset/raw/changelog/postgresql_releases/postgresql_144.md
6696dd0c-2736-5e79-ad89-1290e2b5200d
changelog
postgresql
postgresql
145
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.5/ Version: 14.5 ## PostgreSQL 14.5 | E.16. Release 14.5 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-6.html "E.15. Release 14.6") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
24afee8e-c5ef-55cf-8818-e1491c734e2b
changelog
postgresql
postgresql
145
1
### E.16.2. Changes * Do not let extension scripts replace objects not already belonging to the extension (Tom Lane) [§](https://postgr.es/c/5721da7e4) This change prevents extension scripts from doing `CREATE OR REPLACE` if there is an existing object that does not belong to the extension. It also prevents `CREATE...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
43a2f80a-3eb9-58c4-8079-51134c887701
changelog
postgresql
postgresql
145
2
Standby servers may encounter missing tablespace directories when replaying database-creation WAL records. Prior to this patch, a standby would fail to recover in such a case; however, such directories could be legitimately missing. Create the tablespace (as a plain directory), then check that it has been dropped aga...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md