mirror of
https://github.com/postgres/postgres.git
synced 2025-08-17 00:03:40 -04:00
Compare commits
6 Commits
70353e463c
...
acecd6746c
Author | SHA1 | Date | |
---|---|---|---|
|
acecd6746c | ||
|
15b4d46308 | ||
|
779ac2c74b | ||
|
3f49df98d8 | ||
|
5829444879 | ||
|
b67478b99b |
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<formalpara>
|
<formalpara>
|
||||||
<title>Release date:</title>
|
<title>Release date:</title>
|
||||||
<para>2024-??-??, AS OF 2024-05-14</para>
|
<para>2024-??-??, AS OF 2024-05-18</para>
|
||||||
</formalpara>
|
</formalpara>
|
||||||
|
|
||||||
<sect2 id="release-17-highlights">
|
<sect2 id="release-17-highlights">
|
||||||
@ -480,17 +480,6 @@ Author: Tomas Vondra <tomas.vondra@postgresql.org>
|
|||||||
<para>
|
<para>
|
||||||
Allow BRIN indexes to be created using parallel workers (Tomas Vondra, Matthias van de Meent)
|
Allow BRIN indexes to be created using parallel workers (Tomas Vondra, Matthias van de Meent)
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Author: Peter Eisentraut <peter@eisentraut.org>
|
|
||||||
2024-01-19 [6db4598fc] Add stratnum GiST support function
|
|
||||||
-->
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Add stratnum GiST support function (Paul A. Jungwirth)
|
|
||||||
</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
@ -530,11 +519,12 @@ Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allow vacuum to more efficiently store tuple references and remove its memory limit (Masahiko Sawada, John Naylor)
|
Allow vacuum to more efficiently store tuple references (Masahiko Sawada, John Naylor)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Specifically, maintenance_work_mem and autovacuum_work_mem can now be configured to use more than one gigabyte of memory. WAL traffic caused by vacuum is also more compact.
|
Additionally, vacuum is no longer silently limited to one gigabyte of memory when maintenance_work_mem and autovacuum_work_mem are higher. WAL traffic caused by
|
||||||
|
vacuum is also more compact.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -896,11 +886,11 @@ Author: Jeff Davis <jdavis@postgresql.org>
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Create a "builtin" collation provider similar to libc's C locale (Jeff Davis)
|
Create "builtin" collation provider similar to libc's C locale (Jeff Davis)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
It uses a "C" locale which is identical but independent of libc, but it allows the use of non-"C" collations like "en_US" and "C.UTF-8" with the "C" locale, which libc does not. MORE?
|
While its C locale is similar but independent of libc, its C.UTF-8 locale sorts by Unicode code points and has Unicode-based case folding.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -1466,34 +1456,6 @@ Add DEFAULT setting for ALTER TABLE .. SET ACCESS METHOD (Michael Paquier)
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<!--
|
|
||||||
Author: Peter Eisentraut <peter@eisentraut.org>
|
|
||||||
2024-03-24 [34768ee36] Add temporal FOREIGN KEY contraints
|
|
||||||
-->
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Allow foreign keys to reference WITHOUT OVERLAPS primary keys (Paul A. Jungwirth)
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The keyword PERIOD is used for this purpose.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Author: Peter Eisentraut <peter@eisentraut.org>
|
|
||||||
2024-01-24 [46a0cd4ce] Add temporal PRIMARY KEY and UNIQUE constraints
|
|
||||||
Author: Peter Eisentraut <peter@eisentraut.org>
|
|
||||||
2024-03-05 [030e10ff1] Rename pg_constraint.conwithoutoverlaps to conperiod
|
|
||||||
-->
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Allow PRIMARY KEY and UNIQUE constraints to use WITHOUT OVERLAPS for non-overlapping exclusion constraints (Paul A. Jungwirth)
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Author: Alexander Korotkov <akorotkov@postgresql.org>
|
Author: Alexander Korotkov <akorotkov@postgresql.org>
|
||||||
2023-10-16 [e83d1b0c4] Add support event triggers on authenticated login
|
2023-10-16 [e83d1b0c4] Add support event triggers on authenticated login
|
||||||
@ -1677,7 +1639,7 @@ Author: Andrew Dunstan <andrew@dunslane.net>
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Add jsonpath methods to convert JSON values to different data types (Jeevan Chalke)
|
Add jsonpath methods to convert JSON values to other JSON data types (Jeevan Chalke)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -1956,6 +1918,8 @@ Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
|
|||||||
2024-04-29 [17a834a04] Reject SSL connection if ALPN is used but there's no com
|
2024-04-29 [17a834a04] Reject SSL connection if ALPN is used but there's no com
|
||||||
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
|
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
|
||||||
2024-05-11 [407e0b023] Change ALPN protocol ID to IANA-approved "postgresql"
|
2024-05-11 [407e0b023] Change ALPN protocol ID to IANA-approved "postgresql"
|
||||||
|
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
|
||||||
|
2024-05-16 [fb5718f35] Remove option to fall back from direct to postgres SSL n
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -2450,6 +2414,17 @@ User-defined data type receive functions will no longer receive their data null-
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Author: Andrew Dunstan <andrew@dunslane.net>
|
||||||
|
2024-04-04 [3311ea86e] Introduce a non-recursive JSON parser
|
||||||
|
-->
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Add incremental JSON parser for use with huge JSON documents (Andrew Dunstan)
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Author: Nathan Bossart <nathan@postgresql.org>
|
Author: Nathan Bossart <nathan@postgresql.org>
|
||||||
2024-02-28 [363eb0599] Convert README to Markdown.
|
2024-02-28 [363eb0599] Convert README to Markdown.
|
||||||
|
@ -1273,6 +1273,37 @@ NOTICE: drop cascades to 3 other objects
|
|||||||
DETAIL: drop cascades to table minmaxtest1
|
DETAIL: drop cascades to table minmaxtest1
|
||||||
drop cascades to table minmaxtest2
|
drop cascades to table minmaxtest2
|
||||||
drop cascades to table minmaxtest3
|
drop cascades to table minmaxtest3
|
||||||
|
-- DISTINCT can also trigger wrong answers with hash aggregation (bug #18465)
|
||||||
|
begin;
|
||||||
|
set local enable_sort = off;
|
||||||
|
explain (costs off)
|
||||||
|
select f1, (select distinct min(t1.f1) from int4_tbl t1 where t1.f1 = t0.f1)
|
||||||
|
from int4_tbl t0;
|
||||||
|
QUERY PLAN
|
||||||
|
---------------------------------------------------------------------
|
||||||
|
Seq Scan on int4_tbl t0
|
||||||
|
SubPlan 2
|
||||||
|
-> HashAggregate
|
||||||
|
Group Key: (InitPlan 1).col1
|
||||||
|
InitPlan 1
|
||||||
|
-> Limit
|
||||||
|
-> Seq Scan on int4_tbl t1
|
||||||
|
Filter: ((f1 IS NOT NULL) AND (f1 = t0.f1))
|
||||||
|
-> Result
|
||||||
|
(9 rows)
|
||||||
|
|
||||||
|
select f1, (select distinct min(t1.f1) from int4_tbl t1 where t1.f1 = t0.f1)
|
||||||
|
from int4_tbl t0;
|
||||||
|
f1 | min
|
||||||
|
-------------+-------------
|
||||||
|
0 | 0
|
||||||
|
123456 | 123456
|
||||||
|
-123456 | -123456
|
||||||
|
2147483647 | 2147483647
|
||||||
|
-2147483647 | -2147483647
|
||||||
|
(5 rows)
|
||||||
|
|
||||||
|
rollback;
|
||||||
-- check for correct detection of nested-aggregate errors
|
-- check for correct detection of nested-aggregate errors
|
||||||
select max(min(unique1)) from tenk1;
|
select max(min(unique1)) from tenk1;
|
||||||
ERROR: aggregate function calls cannot be nested
|
ERROR: aggregate function calls cannot be nested
|
||||||
|
@ -436,6 +436,16 @@ select distinct min(f1), max(f1) from minmaxtest;
|
|||||||
|
|
||||||
drop table minmaxtest cascade;
|
drop table minmaxtest cascade;
|
||||||
|
|
||||||
|
-- DISTINCT can also trigger wrong answers with hash aggregation (bug #18465)
|
||||||
|
begin;
|
||||||
|
set local enable_sort = off;
|
||||||
|
explain (costs off)
|
||||||
|
select f1, (select distinct min(t1.f1) from int4_tbl t1 where t1.f1 = t0.f1)
|
||||||
|
from int4_tbl t0;
|
||||||
|
select f1, (select distinct min(t1.f1) from int4_tbl t1 where t1.f1 = t0.f1)
|
||||||
|
from int4_tbl t0;
|
||||||
|
rollback;
|
||||||
|
|
||||||
-- check for correct detection of nested-aggregate errors
|
-- check for correct detection of nested-aggregate errors
|
||||||
select max(min(unique1)) from tenk1;
|
select max(min(unique1)) from tenk1;
|
||||||
select (select max(min(unique1)) from int8_tbl) from tenk1;
|
select (select max(min(unique1)) from int8_tbl) from tenk1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user