pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert temporal primary keys and foreign keys
Date: Thu, 16 May 2024 06:34:40 +0000
Message-ID: <E1s7UhM-000SKC-9P@gemulon.postgresql.org> (raw )
Revert temporal primary keys and foreign keys
This feature set did not handle empty ranges correctly, and it's now
too late for PostgreSQL 17 to fix it.
The following commits are reverted:
6db4598fcb8 Add stratnum GiST support function
46a0cd4cefb Add temporal PRIMARY KEY and UNIQUE constraints
86232a49a43 Fix comment on gist_stratnum_btree
030e10ff1a3 Rename pg_constraint.conwithoutoverlaps to conperiod
a88c800deb6 Use daterange and YMD in without_overlaps tests instead of tsrange.
5577a71fb0c Use half-open interval notation in without_overlaps tests
34768ee3616 Add temporal FOREIGN KEY contraints
482e108cd38 Add test for REPLICA IDENTITY with a temporal key
c3db1f30cba doc: clarify PERIOD and WITHOUT OVERLAPS in CREATE TABLE
144c2ce0cc7 Fix ON CONFLICT DO NOTHING/UPDATE for temporal indexes
Discussion: https://www.postgresql.org/message-id/d0b64a7a-dfe4-4b84-a906-c7dedfa40a3e@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8aee330af55d8a759b2b73f5a771d9d34a7b887f
Modified Files
--------------
contrib/btree_gist/Makefile | 6 +-
contrib/btree_gist/btree_gist--1.7--1.8.sql | 87 --
contrib/btree_gist/btree_gist.c | 27 -
contrib/btree_gist/btree_gist.control | 2 +-
contrib/btree_gist/expected/stratnum.out | 13 -
contrib/btree_gist/expected/without_overlaps.out | 92 --
contrib/btree_gist/meson.build | 3 -
contrib/btree_gist/sql/stratnum.sql | 3 -
contrib/btree_gist/sql/without_overlaps.sql | 53 -
doc/src/sgml/catalogs.sgml | 11 -
doc/src/sgml/gist.sgml | 77 +-
doc/src/sgml/ref/create_table.sgml | 94 +-
doc/src/sgml/xindex.sgml | 8 +-
src/backend/access/gist/gistutil.c | 43 -
src/backend/access/gist/gistvalidate.c | 8 +-
src/backend/catalog/heap.c | 1 -
src/backend/catalog/index.c | 4 -
src/backend/catalog/pg_constraint.c | 60 -
src/backend/commands/indexcmds.c | 148 +-
src/backend/commands/tablecmds.c | 226 +--
src/backend/commands/trigger.c | 1 -
src/backend/commands/typecmds.c | 2 -
src/backend/executor/execIndexing.c | 2 +-
src/backend/optimizer/util/plancat.c | 9 +-
src/backend/parser/gram.y | 74 +-
src/backend/parser/parse_utilcmd.c | 28 +-
src/backend/utils/adt/ri_triggers.c | 168 +--
src/backend/utils/adt/ruleutils.c | 19 +-
src/backend/utils/cache/relcache.c | 18 +-
src/bin/pg_dump/pg_dump.c | 16 +-
src/bin/pg_dump/pg_dump.h | 1 -
src/bin/pg_dump/t/002_pg_dump.pl | 36 -
src/bin/psql/describe.c | 12 +-
src/include/access/gist.h | 6 +-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/index.h | 1 -
src/include/catalog/pg_amproc.dat | 18 -
src/include/catalog/pg_constraint.h | 27 +-
src/include/catalog/pg_proc.dat | 5 -
src/include/commands/defrem.h | 6 +-
src/include/nodes/parsenodes.h | 4 -
src/include/parser/kwlist.h | 1 -
src/test/regress/expected/misc_functions.out | 13 -
src/test/regress/expected/without_overlaps.out | 1722 ----------------------
src/test/regress/parallel_schedule | 2 +-
src/test/regress/sql/misc_functions.sql | 4 -
src/test/regress/sql/without_overlaps.sql | 1461 ------------------
47 files changed, 149 insertions(+), 4475 deletions(-)
Message-ID: <E1s7UhM-000SKC-9P@gemulon.postgresql.org>
Permalink: ../E1s7UhM-000SKC-9P@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1s7UhM-000SKC-9P@gemulon.postgresql.org
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Revert temporal primary keys and foreign keys
In-Reply-To: <E1s7UhM-000SKC-9P@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox