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
180bcae9-fb3f-5dc0-a184-174abfbcd971
changelog
postgresql
postgresql
145
3
* Fix permissions checks in `CREATE INDEX` (Nathan Bossart, Noah Misch) [§](https://postgr.es/c/ace997386) The fix for CVE-2022-1552 caused `CREATE INDEX` to apply the table owner's permissions while performing lookups of operator classes and other objects, where formerly the calling user's permissions were used. Th...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
6c16652c-bd1e-505b-8411-e017d2542e70
changelog
postgresql
postgresql
145
4
If the client does not send a Sync message immediately after such a command, but instead sends another command, any failure in that command would lead to rolling back the preceding command, typically leaving inconsistent state on-disk (such as a missing or extra database directory). The mechanisms intended to prevent...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
3e9faa22-aa66-5d48-a516-64587eba2781
changelog
postgresql
postgresql
145
5
* Fix incorrect plans when sorting by an expression that contains a non-top-level set-returning function (Richard Guo, Tom Lane) [§](https://postgr.es/c/445b9020c) [§](https://postgr.es/c/1a9ac8492) * Fix incorrect permissions-checking code for extended statistics (Richard Guo) [§](https://postgr.es/c/7c6ce0475) If ...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
d34d4f3e-a7d3-5a98-9bf8-e7cfcc2d23e4
changelog
postgresql
postgresql
145
6
* Fix `ALTER TABLE ... ENABLE/DISABLE TRIGGER` to handle recursion correctly for triggers on partitioned tables (Álvaro Herrera, Amit Langote) [§](https://postgr.es/c/731d514ae) [§](https://postgr.es/c/6d9481cd0) In certain cases, a “trigger does not exist” failure would occur because the command would try to adjust...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
2b0d2ac1-203d-5290-93e1-36696de662d8
changelog
postgresql
postgresql
145
7
* Fix `trim_array()` to handle a zero-dimensional array argument sanely (Martin Kalcher) [§](https://postgr.es/c/e71d4254f) * Fix join alias matching in `FOR [KEY] UPDATE/SHARE` clauses (Dean Rasheed) [§](https://postgr.es/c/8d8464445) In corner cases, a misleading error could be reported. * Reject `ROW()` expressio...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
63436a6b-c0a1-5f08-9d11-67ffc0c7636d
changelog
postgresql
postgresql
145
8
This oversight could lead to dump/reload or pg\_upgrade failures, as the dumped view would have too many column aliases for the function. * Disallow nested backup operations in logical replication walsenders (Fujii Masao) [§](https://postgr.es/c/2aedf25eb) * Fix memory leak in logical replication subscribers (Hou Zhi...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
c0cc260d-758b-5bce-83f6-9463ac64d86c
changelog
postgresql
postgresql
145
9
* Fix erroneous assertion checks in shared hashtable management (Thomas Munro) [§](https://postgr.es/c/5e7608e81) * Avoid assertion failure when `min_dynamic_shared_memory` is set to a non-default value (Thomas Munro) [§](https://postgr.es/c/99504ff82) * Arrange to clean up after commit-time errors within `SPI_commit()...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
1f5fa0ea-5b2d-572a-96ce-892eb37fb0c9
changelog
postgresql
postgresql
145
10
Proper cleanup is complicated and requires use of low-level facilities, so it's not surprising that no known caller got it right. This led to misbehaviors when a PL procedure issued `COMMIT` but a failure occurred (such as a deferred constraint check). To improve matters, redefine `SPI_commit()` as starting a new tra...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
a6b115b4-8d90-5edc-91bf-9e2f861b2e8d
changelog
postgresql
postgresql
145
11
* Improve libpq's handling of idle states in pipeline mode (Álvaro Herrera, Kyotaro Horiguchi) [§](https://postgr.es/c/7c1f42612) [§](https://postgr.es/c/9e038d690) This fixes “message type 0x33 arrived from server while idle” warnings, as well as possible loss of end-of-query NULL results from `PQgetResult()`. * Av...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
b13e8d21-b5ef-55df-b8bd-a53f46492971
changelog
postgresql
postgresql
145
12
* In psql's `\watch` command, echo a newline after cancellation with control-C (Pavel Stehule) [§](https://postgr.es/c/ab7fef0ac) This prevents libedit (and possibly also libreadline) from becoming confused about which column the cursor is in. * Fix pg\_upgrade to detect non-upgradable usages of functions taking `an...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
7702428d-9be3-591f-b9f2-a00cb4d4b96b
changelog
postgresql
postgresql
145
13
* Fix `contrib/pg_stat_statements` to avoid problems with very large query-text files on 32-bit platforms (Tom Lane) [§](https://postgr.es/c/17fd203b4) * In `contrib/postgres_fdw`, prevent batch insertion when there are `WITH CHECK OPTION` constraints (Etsuro Fujita) [§](https://postgr.es/c/4a9bc2e0f) Such constrain...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
ab1d5994-7a57-5220-8a5e-26cc6375966a
changelog
postgresql
postgresql
145
14
* Detect unexpected `EEXIST` error from `shm_open()` (Thomas Munro) [§](https://postgr.es/c/fb81a93a6) This avoids a possible crash on Solaris. * Avoid using `signalfd()` on illumos systems (Thomas Munro) [§](https://postgr.es/c/e086b5538) This appears to trigger hangs and kernel panics, so avoid the function unt...
large_dataset/raw/changelog/postgresql_releases/postgresql_145.md
92d02bd1-99d8-59e0-a069-774165e8989f
changelog
postgresql
postgresql
146
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.6/ Version: 14.6 ## PostgreSQL 14.6 | E.15. Release 14.6 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-7.html "E.14. Release 14.7") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
1c6554b2-bbad-51b8-b27e-2709439df259
changelog
postgresql
postgresql
146
1
### E.15.2. Changes * Avoid rare PANIC during updates occurring concurrently with `VACUUM` (Tom Lane, Jeff Davis) [§](https://postgr.es/c/b93d7e688) [§](https://postgr.es/c/21934612d) If a concurrent `VACUUM` sets the all-visible flag bit in a page that `UPDATE` or `DELETE` is in process of modifying, the updating ...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
92a5e038-3019-5c45-96b5-ab736178fb53
changelog
postgresql
postgresql
146
2
* Fix resource management bug in saving tuples for `AFTER` triggers (Tom Lane) [§](https://postgr.es/c/992376461) Given the right circumstances, this manifested as a “tupdesc reference *`NNNN`* is not owned by resource owner” error followed by a PANIC exit. * Avoid failure in `EXPLAIN VERBOSE` for a query using `SEA...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
5ab14ef4-b738-5c4a-8f77-441c3d8ddf1c
changelog
postgresql
postgresql
146
3
If the initially-given name is already in use for some constraint of the partition, a new one is selected; but it wasn't being spelled as intended. * Fix incorrect matching of index expressions and predicates when creating a partitioned index (Richard Guo, Tom Lane) [§](https://postgr.es/c/3bfea5cbb) While creatin...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
c84a630a-d695-56ca-91e4-76fed1061fa6
changelog
postgresql
postgresql
146
4
* Fix mis-ordering of WAL operations in fast insert path for GIN indexes (Matthias van de Meent, Zhang Mingli) [§](https://postgr.es/c/5a30d43fa) This mistake is not known to have any negative consequences within core PostgreSQL, but it did cause issues for some extensions. * Fix bugs in logical decoding when replay...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
8720ff33-0b2d-5d66-ab20-1a793f037467
changelog
postgresql
postgresql
146
5
* Accept interrupts in more places during logical decoding (Amit Kapila, Masahiko Sawada) [§](https://postgr.es/c/36fc013fa) [§](https://postgr.es/c/6d05d575b) This ameliorates problems with slow shutdown of replication workers. * Prevent attempts to replicate into a foreign-table partition in replication workers (S...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
627104f3-74a1-5cdf-ba58-f10a19cb239a
changelog
postgresql
postgresql
146
6
If a syntax error occurred in a SQL-language or PL/pgSQL-language `CREATE FUNCTION` or `DO` command executed in a logical replication worker, the worker process would crash with a null pointer dereference or assertion failure. * Fix handling of read-write expanded datums that are passed to SQL functions (Tom Lane) [§...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
8be01d4a-6d44-5971-8ba7-a1d70d63d741
changelog
postgresql
postgresql
146
7
* In Snowball dictionaries, don't try to stem excessively-long words (Olly Betts, Tom Lane) [§](https://postgr.es/c/e969f1ae2) If the input word exceeds 1000 bytes, return it as-is after case folding, rather than trying to run it through the Snowball code. This restriction protects against a known recursion-to-stack...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
307d9e8f-2a5f-5549-9333-0d9793f3cbfb
changelog
postgresql
postgresql
146
8
* Add plan-time check for attempted access to a table that has no table access method (Tom Lane) [§](https://postgr.es/c/8c611602b) This prevents a crash in some catalog-corruption scenarios, for example use of a view whose `ON SELECT` rule is missing. * Prevent postmaster crash when shared-memory state is corrupted...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
1d79fee3-19d1-5d83-8a6e-3d2a0ce6eb3e
changelog
postgresql
postgresql
146
9
The lack of field reports suggests that this problem is only latent in pre-v15 branches; but it's not very clear why, so back-patch the fix anyway. * Improve PL/pgSQL's ability to handle parameters declared as `RECORD` (Tom Lane) [§](https://postgr.es/c/56d45fdab) Build a separate function cache entry for each con...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
bc374cfa-922c-57ac-8f8e-04fb3a2e8479
changelog
postgresql
postgresql
146
10
There's a convention that libpq functions should check for a NULL PGconn argument, and fail gracefully instead of crashing. `PQflush()` and `PQisnonblocking()` didn't get that memo, so fix them. * In ecpg, fix omission of variable storage classes when multiple `varchar` or `bytea` variables are declared in the same d...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
683c3729-c45a-5765-b534-4cc8ea0c0c57
changelog
postgresql
postgresql
146
11
This occurred if pg\_stat\_statements tracked a `ROLLBACK` command issued via extended query protocol. In debug builds it consistently led to an assertion failure. In production builds there would often be no visible ill effect; but if the freed memory had already been reused, the likely result would be to store garb...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
c2dcac62-7421-5d4d-b4b2-f8cf9a0dbc6d
changelog
postgresql
postgresql
146
12
The uuid-ossp module expects libc's `uuid_create()` to produce a version-1 UUID, but recent NetBSD releases produce a version-4 (random) UUID instead. Check for that, and complain if so. Drop the documentation's claim that the NetBSD implementation is usable for uuid-ossp. (If a version-4 UUID is okay for your purpos...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
a1e49855-d0f5-5327-9729-61d4429fd807
changelog
postgresql
postgresql
146
13
* Fix incompatibilities with LLVM 15 (Thomas Munro, Andres Freund) [§](https://postgr.es/c/d033f8f8b) * Allow use of `__sync_lock_test_and_set()` for spinlocks on any machine (Tom Lane) [§](https://postgr.es/c/058c7b5dd) This eases porting to new machine architectures, at least if you're using a compiler that suppor...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
42585803-5478-51c2-9303-d9787f5b4429
changelog
postgresql
postgresql
146
14
Also, the Europe/Kiev zone has been renamed to Europe/Kyiv. Also, the following zones have been merged into nearby, more-populous zones whose clocks have agreed with them since 1970: Antarctica/Vostok, Asia/Brunei, Asia/Kuala\_Lumpur, Atlantic/Reykjavik, Europe/Amsterdam, Europe/Copenhagen, Europe/Luxembourg, Europe/...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
78131a9c-bb0d-5c77-af2e-3c70f2741c91
changelog
postgresql
postgresql
146
15
These zone mergers result in loss of pre-1970 timezone history for the merged zones, which may be troublesome for applications expecting consistency of `timestamptz` display. As an example, the stored value `1944-06-01 12:00 UTC` would previously display as `1944-06-01 13:00:00+01` if the Europe/Stockholm zone is se...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
19835a58-3ed7-59d1-8e83-f7ee0332d020
changelog
postgresql
postgresql
146
16
It is possible to build the time zone data files with options that will restore the older zone data, but that choice also inserts a lot of other old (and typically poorly-attested) zone data, resulting in more total changes from the previous release than accepting these upstream changes does. PostgreSQL has chosen to...
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
07d7cdd4-9242-514b-8568-fa4253879990
changelog
postgresql
postgresql
146
17
[Return to the Release Notes Archive](/docs/release/) [Next](/docs/release/14.7/)
large_dataset/raw/changelog/postgresql_releases/postgresql_146.md
847189c3-60f1-5bb5-9f0d-c43ee41b7e58
changelog
postgresql
postgresql
147
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.7/ Version: 14.7 ## PostgreSQL 14.7 | E.14. Release 14.7 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-8.html "E.13. Release 14.8") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
c91c7926-3c8d-5541-970a-24bd5cd406ea
changelog
postgresql
postgresql
147
1
### E.14.2. Changes * libpq can leak memory contents after GSSAPI transport encryption initiation fails (Jacob Champion) [§](https://postgr.es/c/626f2c1d6) A modified server, or an unauthenticated man-in-the-middle, can send a not-zero-terminated error message during setup of GSSAPI (Kerberos) transport encryption....
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
4185aaad-2672-58a9-88f2-2c66c2eb15fb
changelog
postgresql
postgresql
147
2
This fixes failure to update `GENERATED` columns that do not exist in the parent table, or that have different dependencies than are in the parent column's generation expression. * Allow a `WITH RECURSIVE ... CYCLE` CTE to access its output column (Tom Lane) [§](https://postgr.es/c/ea5ae4cae) A reference to the `S...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
bf91a0bd-0722-51d2-a052-ac36912f4946
changelog
postgresql
postgresql
147
3
When pg\_dump dumps a partitioned index that's marked `REPLICA IDENTITY`, it generates a command sequence that applies `REPLICA IDENTITY` before the partitioned index has been marked valid, causing restore to fail. There seems no very good reason to prohibit doing it in that order, so allow it. The marking will have ...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
fb15e4e0-1bcf-5c42-8c47-55548ac46cf9
changelog
postgresql
postgresql
147
4
* Fix `jsonb` subscripting to cope with toasted subscript values (Tom Lane, David G. Johnston) [§](https://postgr.es/c/a18328bb3) Using a text value fetched directly from a table as a `jsonb` subscript was likely to fail. Fetches would usually not find any matching element. Assignments could store the value with a g...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
0a1ebe09-1cea-5832-8c47-0222158cf5e0
changelog
postgresql
postgresql
147
5
Internal state was not updated after a change in `checkpoint_completion_target`, possibly resulting in performing checkpoint I/O faster or slower than desired, especially if that setting was changed on-the-fly. * Log the correct ending timestamp in `recovery_target_xid` mode (Tom Lane) [§](https://postgr.es/c/1034507...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
d9e388ce-f7e6-5660-a1c6-547160651c80
changelog
postgresql
postgresql
147
6
* In extended query protocol, avoid an immediate commit after `ANALYZE` if we're running a pipeline (Tom Lane) [§](https://postgr.es/c/ae47f8a96) If there's not been an explicit `BEGIN TRANSACTION`, `ANALYZE` would take it on itself to commit, which should not happen within a pipelined series of commands. * Reject c...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
255b0358-d2a0-5f5f-9d7a-78be74e015be
changelog
postgresql
postgresql
147
7
A contrived query can result in deep recursion and unreasonable amounts of time spent trying to flatten subqueries. A proper fix for that seems unduly invasive for a back-patch, but we can at least add stack depth checks and an interrupt check to allow the query to be cancelled. * Fix planner issues when combining Me...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
365fa496-654e-5144-96e4-ef1cadfcd613
changelog
postgresql
postgresql
147
8
Planner runs occurring just after deletion of a large number of tuples appearing at the end of an index could expend significant amounts of work setting the “killed” bits for those index entries. Limit the amount of work done in any one query by giving up on this process after examining 100 heap pages. All the cleanu...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
b5ab04cb-d3f0-5f2d-a5f7-1280fd7f6aef
changelog
postgresql
postgresql
147
9
* Ensure that execution of full-text-search queries can be cancelled while they are performing phrase matches (Tom Lane) [§](https://postgr.es/c/1b9c04b13) * Fix memory leak in hashing strings with nondeterministic collations (Jeff Davis) [§](https://postgr.es/c/47e1224d5) * Fix deadlock between `DROP DATABASE` and log...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
4ccb28a4-ad3a-5564-8f0a-a8d993f8849d
changelog
postgresql
postgresql
147
10
The previous coding leaked the connection object. In background code paths that's pretty harmless because the calling process will give up and exit. But in commands such as `CREATE SUBSCRIPTION`, such a failure resulted in a small session-lifespan memory leak. * In hot-standby servers, reduce processing effort for tr...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
5a1a4ceb-f0eb-57da-8fa0-8e3c216a4108
changelog
postgresql
postgresql
147
11
* In logical decoding, notify the remote node when a transaction is detected to have crashed (Hou Zhijie) [§](https://postgr.es/c/b2cc5b810) After a server restart, we'll re-stream the changes for transactions occurring shortly before the restart. Some of these transactions probably never completed; when we realize ...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
97b08045-ee61-5023-b6c3-d89cf1a4cf72
changelog
postgresql
postgresql
147
12
* Advance a heap page's LSN when setting its all-visible bit during WAL replay (Jeff Davis) [§](https://postgr.es/c/f893af496) Failure to do this left the page possibly different on standby servers than the primary, and violated some other expectations about when the LSN changes. This seems only a theoretical hazard...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
c9f7699f-5278-5f32-955c-41ddcc2f4285
changelog
postgresql
postgresql
147
13
This function misbehaved with some values of its second argument. No such usages exist in core PostgreSQL, but it's clearly a hazard for external modules, so repair. * Fix latent buffer-overrun problem in `WaitEventSet` logic (Thomas Munro) [§](https://postgr.es/c/547e60b83) The `epoll`-based and `kqueue`-based im...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
9e0b67e6-f302-524e-8883-fa0b71ac2f1a
changelog
postgresql
postgresql
147
14
* Fix assertion failure in BRIN minmax-multi opclasses (Tomas Vondra) [§](https://postgr.es/c/883dc0214) The assertion was overly strict, so this mistake was harmless in non-assert builds. * Remove faulty assertion in useless-RESULT-RTE optimization logic (Tom Lane) [§](https://postgr.es/c/0224646be) * Fix copy-and-...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
3781244c-5c52-55ce-8d69-592de5ad3975
changelog
postgresql
postgresql
147
15
pg\_dump uses certain server functions that can fail if examining a table that gets dropped concurrently. Avoid this type of failure by ensuring that we obtain access share lock before inquiring too deeply into a table's properties, and that we don't apply such functions to tables we don't intend to dump at all. * Fi...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
e1488fd0-4c46-5e27-896d-9ca2318459b4
changelog
postgresql
postgresql
147
16
A previous patch supposed that all platforms of interest have `snprintf()`, but MSVC 2013 isn't quite there yet. Revert to using `sprintf()` on that platform. * Fix compile failure in building PL/Perl with MSVC when using Strawberry Perl (Andrew Dunstan) [§](https://postgr.es/c/f76191fd9) * Fix mismatch of PL/Perl bu...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
d6638311-87bd-5b35-b6c7-e5670b1b82a7
changelog
postgresql
postgresql
147
17
* Update time zone data files to tzdata release 2022g for DST law changes in Greenland and Mexico, plus historical corrections for northern Canada, Colombia, and Singapore. (Tom Lane) [§](https://postgr.es/c/7e6154779) Notably, a new timezone America/Ciudad\_Juarez has been split off from America/Ojinaga. --- | |...
large_dataset/raw/changelog/postgresql_releases/postgresql_147.md
ea9497f7-d030-5ef9-ad78-375742fb3750
changelog
postgresql
postgresql
148
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.8/ Version: 14.8 ## PostgreSQL 14.8 | E.13. Release 14.8 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-9.html "E.12. Release 14.9") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Post...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
abd279d0-5cc2-5dde-9400-1a5c2324c264
changelog
postgresql
postgresql
148
1
### E.13.2. Changes * Prevent `CREATE SCHEMA` from defeating changes in `search_path` (Alexander Lakhin) [§](https://postgr.es/c/01e8182c7) [§](https://postgr.es/c/1913f63dc) Within a `CREATE SCHEMA` command, objects in the prevailing `search_path`, as well as those in the newly-created schema, would be visible eve...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
8391c899-44cc-514b-b187-f63f59ef3ea0
changelog
postgresql
postgresql
148
2
If a set-returning SQL-language function refers to a table having row-level security policies, and it can be inlined into a calling query, those RLS policies would not get enforced properly in some cases involving re-using a cached plan under a different role. This could allow a user to see or modify rows that should...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
357032a9-a5dd-5fe4-a9de-e141c1c85ea7
changelog
postgresql
postgresql
148
3
`ALTER TABLE ... ENABLE/DISABLE TRIGGER USER` skipped cloned triggers, mistaking them for system triggers. Other variants of `ENABLE/DISABLE TRIGGER` would process them, but only after improperly enforcing a superuserness check. * Disallow altering composite types that are stored in indexes (Tom Lane) [§](https://pos...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
d42f1c80-5ade-55e4-a3f6-e087386f4655
changelog
postgresql
postgresql
148
4
* Ensure that `COPY TO` from an RLS-enabled parent table does not copy any rows from child tables (Antonin Houska) [§](https://postgr.es/c/53a53ea33) The documentation is quite clear that `COPY TO` copies rows from only the named table, not any inheritance children it may have. However, if row-level security was ena...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
25673ff7-52a3-5891-a6e5-76d53c6c0378
changelog
postgresql
postgresql
148
5
Most cases in which a syntax error is detected in a string literal within a JSON value failed to set the error cursor appropriately. This led at least to an unhelpful error message (pointing to the token before the string, rather than the actual trouble spot), and could even result in a crash in v14 and later. * Fix ...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
f404497d-b184-533e-9fae-4a1ccc489006
changelog
postgresql
postgresql
148
6
This oversight could lead to executor failures for queries that should have been rejected as invalid. * Fix data structure corruption during parsing of serial `SEQUENCE NAME` options (David Rowley) [§](https://postgr.es/c/211016220) This can lead to trouble if an event trigger captures the corrupted parse tree. * ...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
f8c8de4d-eaa8-56b4-968f-afb7394e279b
changelog
postgresql
postgresql
148
7
This optimization requires that the aggregate's argument expressions have repeatable results, which might not hold for a sub-SELECT. * Fix oversights in execution of nested `ARRAY[]` constructs (Alexander Lakhin, Tom Lane) [§](https://postgr.es/c/11213d446) Correctly detect overflow of the total space needed for t...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
95fcfce9-75e6-5e87-9cc8-97b17c51e5f0
changelog
postgresql
postgresql
148
8
Pruning with a condition like `boolcol IS NOT TRUE` was done incorrectly, leading to possibly not returning rows in which `boolcol` is NULL. Also, the rather unlikely case of partitioning on `NOT boolcol` was handled incorrectly. * Fix race condition in per-batch cleanup during parallel hash join (Thomas Munro, Melan...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
34d54a95-f501-5206-9c31-8b5bc54bc03c
changelog
postgresql
postgresql
148
9
* Fix buffer refcount leak when using batched inserts for a foreign table included in a partitioned tree (Alexander Pyhalov) [§](https://postgr.es/c/4cc56f8ed) * Restore support for sub-millisecond `vacuum_cost_delay` settings (Thomas Munro) [§](https://postgr.es/c/2bef57ee8) * Don't balance vacuum cost delay when a ta...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
268d5237-7e7e-50ea-a958-fa6aa28c2c52
changelog
postgresql
postgresql
148
10
Use of the syntax `INSERT ... ON CONFLICT DO UPDATE SET (c1, ...) = (SELECT ...)` with a partitioned target table could result in failure if any child table is dissimilar from the parent (for example, different physical column order). This typically manifested as failure of consistency checks in the executor; but a c...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
f8d93325-c35f-574d-801e-e105a81e68fb
changelog
postgresql
postgresql
148
11
* When decompiling a rule or SQL function body containing `INSERT`/`UPDATE`/`DELETE` within `WITH`, take care to print the correct alias for the target table (Tom Lane) [§](https://postgr.es/c/14345f3c6) * Fix glitches in `SERIALIZABLE READ ONLY` optimization (Thomas Munro) [§](https://postgr.es/c/e9051ecd5) [§](https:...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
91ba48af-76e2-5ccf-ab9b-e1c0a2d8abfa
changelog
postgresql
postgresql
148
12
* Avoid unnecessary calls to custom validators for index operator class options (Alexander Korotkov) [§](https://postgr.es/c/9ef5a3583) This change fixes some cases where an unexpected error was thrown. * Avoid useless work while scanning a multi-column BRIN index with multiple scan keys (Tomas Vondra) [§](https://p...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
288bf139-9b12-5d89-a769-d787f2998bd1
changelog
postgresql
postgresql
148
13
* Ignore dropped columns and generated columns during logical replication of an update or delete action (Onder Kalaci, Shi Yu) [§](https://postgr.es/c/9dac02c77) [§](https://postgr.es/c/65ead7696) Replication with the `REPLICA IDENTITY FULL` option failed if the table contained such columns. * Correct the name of th...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
213a28b5-b399-5444-916e-b0cc45821da5
changelog
postgresql
postgresql
148
14
This could result in not honoring `wal_keep_size` accurately. * Support RSA-PSS certificates with SCRAM-SHA-256 channel binding (Jacob Champion, Heikki Linnakangas) [§](https://postgr.es/c/864f80fea) This feature requires building with OpenSSL 1.1.1 or newer. Both the server and libpq are affected. * Avoid race co...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
a3803696-261c-5a89-b3f9-5d5cc9a23422
changelog
postgresql
postgresql
148
15
In the unusual case where the size of a large (>8kB) palloc chunk is decreased, a Valgrind-aware build would mismark the defined-ness state of the memory released from the chunk, possibly causing incorrect results during Valgrind testing. * Avoid assertion failure when decoding a transactional logical replication mes...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
e5fec9a1-fcaa-52fa-aa66-c39edab6e514
changelog
postgresql
postgresql
148
16
* Fix session-lifespan memory leakage in plpgsql `DO` blocks that use cast expressions (Ajit Awekar, Tom Lane) [§](https://postgr.es/c/2ba890ce7) * Tighten array dimensionality checks when converting Perl list structures to multi-dimensional SQL arrays (Tom Lane) [§](https://postgr.es/c/1e868bb6c) plperl could misbe...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
9e4e3a4e-16f1-5bd6-b045-506fd694445c
changelog
postgresql
postgresql
148
17
plpython could misbehave when dealing with empty sub-lists, or when the nesting of sub-lists is inconsistent so that the data does not represent a rectangular array of values. The former should result in an empty output array, and the latter in an error. But some cases resulted in a crash, and others in unexpected ou...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
a1cf2b28-4c3f-5b43-9d97-64c0c5ef94d8
changelog
postgresql
postgresql
148
18
* Fix possible data corruption in ecpg programs built with the `-C ORACLE` option (Kyotaro Horiguchi) [§](https://postgr.es/c/02f076454) When `ecpg_get_data()` is called with `varcharsize` set to zero, it could write a terminating zero character into the last byte of the preceding field, truncating the data in that ...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
c48f7eee-dd16-5dab-824e-f0d29e81f2c7
changelog
postgresql
postgresql
148
19
Also, fix pg\_restore to not try to `TRUNCATE` target tables before restoring into them when `--load-via-partition-root` mode is used. This avoids a hazard of deadlocks and lost data. * Correctly detect non-seekable files on Windows (Juan José Santamaría Flecha, Michael Paquier, Daniel Watzinger) [§](https://postgr.e...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
84b65fc7-a60e-5480-9d66-c2f6a3a976ba
changelog
postgresql
postgresql
148
20
* In `contrib/amcheck`, deal sanely with xids that appear to be before epoch zero (Andres Freund) [§](https://postgr.es/c/b3a83055c) In cases of corruption we might see a wrapped-around 32-bit xid that appears to be before the first xid epoch. Promoting such a value to 64-bit form produced a value far in the future,...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
a111cf48-9e03-50fa-a0cc-00e3a543a224
changelog
postgresql
postgresql
148
21
Other values result in misaligned accesses to index content, which is harmless on Intel-compatible hardware but can cause a crash on some other architectures. * In `contrib/pageinspect`, add defenses against incorrect input for the `gist_page_items()` function (Dmitry Koval) [§](https://postgr.es/c/5ad63eee1) * Fix m...
large_dataset/raw/changelog/postgresql_releases/postgresql_148.md
e85d50a6-a388-5e54-99d1-93d3796b7976
changelog
postgresql
postgresql
148
22
* 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/7f8778fcf) 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_148.md
a06eccef-4c0b-50f2-a0b6-5ee36e2a3fca
changelog
postgresql
postgresql
148
23
* 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/b79b36f26) 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_148.md
8f98e09d-3932-5eb5-ba25-290343a00980
changelog
postgresql
postgresql
149
0
# Release Notes Source: https://www.postgresql.org/docs/release/14.9/ Version: 14.9 ## PostgreSQL 14.9 | E.12. Release 14.9 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-14-10.html "E.11. Release 14.10") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Po...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
ae485815-226b-59ce-90e7-04355a8bad14
changelog
postgresql
postgresql
149
1
Also, if you are upgrading from a version earlier than 14.4, see [Section E.17](release-14-4.html "E.17. Release 14.4"). ### 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/d4648a74b) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
606ca4c1-38d3-5d28-92c4-279f31caee83
changelog
postgresql
postgresql
149
2
This fix will not in itself correct faulty BRIN entries. It's recommended to `REINDEX` any BRIN indexes that may be used to search for nulls. * Avoid leaving a corrupted database behind when `DROP DATABASE` is interrupted (Andres Freund) [§](https://postgr.es/c/d11efe830) If `DROP DATABASE` was interrupted after i...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
f5e16d2a-ea49-58ec-86e5-a93e3e7b4dfc
changelog
postgresql
postgresql
149
3
If a new partitioned index matches an existing but invalid index on one of the partitions, the partitioned index could end up being marked valid prematurely. This could lead to misbehavior or assertion failures in subsequent queries on the partitioned table. * Ignore invalid child indexes when matching partitioned in...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
48e413fe-9e75-51eb-a049-7543303d6dc8
changelog
postgresql
postgresql
149
4
Erroring out if the extension contains objects in multiple schemas was always intended; but the check was mis-coded so that it would fail to detect some cases, leading to surprising behavior. * Don't use partial unique indexes for uniqueness proofs in the planner (David Rowley) [§](https://postgr.es/c/73f1c17fc) T...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
4ffa4d5c-d3c6-5650-bd3e-beaeab02b2ff
changelog
postgresql
postgresql
149
5
The planner currently lacks support for attaching pseudoconstant join clauses to a pushed-down remote join, so disable generation of remote joins in such cases. (A better solution will require ABI-breaking changes of planner data structures, so it will have to wait for a future major release.) * Correctly handle sub-...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
f9df0bb4-e221-53b2-8294-6dc0d7b476e9
changelog
postgresql
postgresql
149
6
* Fix misbehavior of EvalPlanQual checks with inherited or partitioned target tables (Tom Lane) [§](https://postgr.es/c/f8320cc72) This oversight could lead to update or delete actions in `READ COMMITTED` isolation mode getting performed when they should have been skipped because of a conflicting concurrent update. ...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
4917bb74-2ac6-5f4e-8e60-2021e9193f80
changelog
postgresql
postgresql
149
7
* Prevent query-lifespan memory leaks in some `UPDATE` queries with triggers (Tomas Vondra) [§](https://postgr.es/c/7f528e96c) [§](https://postgr.es/c/260dbf19a) * Prevent query-lifespan memory leaks when an Incremental Sort plan node is rescanned (James Coleman, Laurenz Albe, Tom Lane) [§](https://postgr.es/c/c1affa38...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
71dd4478-fb36-550f-a81f-5d22df50385f
changelog
postgresql
postgresql
149
8
* Fix rare null-pointer crash in `plancache.c` (Tom Lane) [§](https://postgr.es/c/10fd061bb) * Avoid losing track of possibly-useful shared memory segments when a page free results in coalescing ranges of free space (Dongming Liu) [§](https://postgr.es/c/b7ec66731) Ensure that the segment is moved into the appropria...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
1efb95f5-6a9c-597c-ab40-401844ba59ee
changelog
postgresql
postgresql
149
9
* Ensure that `WrapLimitsVacuumLock` is released after `VACUUM` detects invalid data in `pg_database`.`datfrozenxid` or `pg_database`.`datminmxid` (Andres Freund) [§](https://postgr.es/c/e246fd423) Failure to release this lock could lead to a deadlock later, although the lock would be cleaned up if the session exits...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
16af45ad-8502-5e63-b1c9-1568fdd3c2aa
changelog
postgresql
postgresql
149
10
If any required two-phase transactions were logged in the most recent (partial) log segment, promotion would fail with an incorrect complaint about “requested WAL segment has already been removed”. * Ensure that a newly created, but still empty table is `fsync`'ed at the next checkpoint (Heikki Linnakangas) [§](https...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
a3755416-e5cc-5b65-b5e5-bb5a995df0e7
changelog
postgresql
postgresql
149
11
* Fix missing reinitializations of delay-checkpoint-end flags (suyu.cmj) [§](https://postgr.es/c/c6043fcbb) This could result in unnecessary delays of checkpoints, or in assertion failures in assert-enabled builds. * Fix overly strict assertion in `jsonpath` code (David Rowley) [§](https://postgr.es/c/f457f2ef1) ...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
46a290ea-a33c-5dd4-ba22-79db35cd0d24
changelog
postgresql
postgresql
149
12
In some cases, characters would be falsely recognized as whitespace and hence discarded. * Disallow oversize input arrays with `contrib/intarray`'s `gist__int_ops` index opclass (Ankit Kumar Pandey, Alexander Lakhin) [§](https://postgr.es/c/019a40d61) Previously this code would report a `NOTICE` but press on anywa...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
dbcd1208-939d-56ee-a602-675af32f19b0
changelog
postgresql
postgresql
149
13
* Fix pg\_dump to correctly handle new-style SQL-language functions whose bodies require parse-time dependencies on unique indexes (Tom Lane) [§](https://postgr.es/c/d6f549d7a) Such cases can arise from `GROUP BY` and `ON CONFLICT` clauses, for example. The function must then be postponed until after the unique inde...
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
a1c5f21b-a901-5dbc-a3e6-753d1c4d98e1
changelog
postgresql
postgresql
149
14
| E.11. Release 14.10 | [Home](index.html "PostgreSQL 14.20 Documentation") | E.13. Release 14.8 | [Previous](/docs/release/14.8/) [Return to the Release Notes Archive](/docs/release/) [Next](/docs/release/14.10/)
large_dataset/raw/changelog/postgresql_releases/postgresql_149.md
ee95734f-5086-52d3-a39c-088706555f90
changelog
postgresql
postgresql
150
0
# Release Notes Source: https://www.postgresql.org/docs/release/15.0/ Version: 15.0 ## PostgreSQL 15.0 | E.16. Release 15 | | | | | | --- | --- | --- | --- | --- | | [Prev](release-15-1.html "E.15. Release 15.1") | [Up](release.html "Appendix E. Release Notes") | Appendix E. Release Notes | [Home](index.html "Postgr...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
7196d8ec-a992-53c0-b304-695745715f3f
changelog
postgresql
postgresql
150
1
* Selective publication of tables' contents within [logical replication](logical-replication.html "Chapter 31. Logical Replication") publications, through the ability to specify column lists and row filter conditions. * More options for compression, including support for Zstandard (zstd) compression. This includes supp...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
52cb635e-9d42-5ce9-8871-799417266261
changelog
postgresql
postgresql
150
2
A dump/restore using [pg\_dumpall](app-pg-dumpall.html "pg_dumpall") or use of [pg\_upgrade](pgupgrade.html "pg_upgrade") or logical replication is required for those wishing to migrate data from any previous release. See [Section 19.6](upgrading.html "19.6. Upgrading a PostgreSQL Cluster") for general information on m...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
4e609f44-d892-5fa2-9132-c77a66df501c
changelog
postgresql
postgresql
150
3
The new default is one of the secure schema usage patterns that [Section 5.9.6](ddl-schemas.html#DDL-SCHEMAS-PATTERNS "5.9.6. Usage Patterns") has recommended since the security release for CVE-2018-1058. The change applies to new database clusters and to newly-created databases in existing clusters. Upgrading a clus...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
d00fd13c-c392-50a3-8116-43682d1d25cb
changelog
postgresql
postgresql
150
4
This allows each database's owner to have ownership privileges on the `public` schema within their database. Previously it was owned by the bootstrap superuser, so that non-superuser database owners could not do anything with it. This change applies to new database clusters and to newly-created databases in existi...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
9f4197db-7504-505d-9c20-ab1056badb7a
changelog
postgresql
postgresql
150
5
* Increase [`hash_mem_multiplier`](runtime-config-resource.html#GUC-HASH-MEM-MULTIPLIER) default to 2.0 (Peter Geoghegan) [§](https://postgr.es/c/8f388f6f5) This allows query hash operations to use more [`work_mem`](runtime-config-resource.html#GUC-WORK-MEM) memory than other operations. * Remove server-side languag...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
6b1f0da7-471d-5abe-a10c-14d9439d08ff
changelog
postgresql
postgresql
150
6
This is prohibited because lexemes should never be empty. Users of previous Postgres releases should verify that no empty lexemes are stored because they can lead to dump/restore failures and inconsistent results. * Generate an error when [`chr()`](functions-string.html#FUNCTIONS-STRING-OTHER "Table 9.10. Other Strin...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
58d271ee-7140-5499-aaf8-4fcf74b6de24
changelog
postgresql
postgresql
150
7
* Prevent [numeric literals](sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS-NUMERIC "4.1.2.6. Numeric Constants") from having non-numeric trailing characters (Peter Eisentraut) [§](https://postgr.es/c/2549f0661) Previously, query text like `123abc` would be interpreted as `123` followed by a separate token `abc`. * Ad...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
1836eef1-3c9b-53f4-8ed6-8880ac931f3f
changelog
postgresql
postgresql
150
8
Numbers with trailing periods were rejected on some platforms. * Mark the `interval` output function as stable, not immutable, since it depends on [`IntervalStyle`](runtime-config-client.html#GUC-INTERVALSTYLE) (Tom Lane) [§](https://postgr.es/c/a3d6264bb) This will, for example, cause creation of indexes relying ...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
3e67b751-8e04-565c-9f2b-81439dfe0b4a
changelog
postgresql
postgresql
150
9
* Remove the default [`ADMIN OPTION`](sql-createrole.html "CREATE ROLE") privilege a login role has on its own role membership (Robert Haas) [§](https://postgr.es/c/79de9842a) Previously, a login role could add/remove members of its own role, even without `ADMIN OPTION` privilege. * Allow [logical replication](logic...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
07af408a-03d2-5710-af91-10d735178f8f
changelog
postgresql
postgresql
150
10
`UPDATE` and `DELETE` commands typically involve reading the table as well, so require the subscription owner to have table `SELECT` permission. * When [`EXPLAIN`](sql-explain.html "EXPLAIN") references the session's temporary object schema, refer to it as `pg_temp` (Amul Sul) [§](https://postgr.es/c/48c5c9068) Pr...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
a2242b77-d2f5-5ae4-91db-88435c88640e
changelog
postgresql
postgresql
150
11
* Disallow setting [custom options](runtime-config-custom.html "20.16. Customized Options") that match the name of an installed extension, but are not one of the extension's declared variables (Florin Irion, Tom Lane) [§](https://postgr.es/c/75d22069e) [§](https://postgr.es/c/2ed8a8cc5) [§](https://postgr.es/c/88103567...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md
a030054c-d307-517b-ae4b-955cc0ca2d29
changelog
postgresql
postgresql
150
12
This will cause `random()`'s results to differ from what was emitted by prior versions, even for the same seed value. * libpq's [`PQsendQuery()`](libpq-async.html#LIBPQ-PQSENDQUERY) function is no longer supported in pipeline mode (Álvaro Herrera) [§](https://postgr.es/c/bd8ac900d) Applications that are using that...
large_dataset/raw/changelog/postgresql_releases/postgresql_150.md