Thread: pgsql: Fix ALTER TABLE / REPLICA IDENTITY for temporal tables

pgsql: Fix ALTER TABLE / REPLICA IDENTITY for temporal tables

From
Peter Eisentraut
Date:
Fix ALTER TABLE / REPLICA IDENTITY for temporal tables

REPLICA IDENTITY USING INDEX did not accept a GiST index.  This should
be allowed when used as a temporal primary key.

Author: Paul Jungwirth <pj@illuminatedcomputing.com>
Discussion: https://www.postgresql.org/message-id/04579cbf-b134-45e1-8f2d-8c54c849c1ee@illuminatedcomputing.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79b575d3bc09cc67a7b5c2da454aeb35f4beccc5

Modified Files
--------------
src/backend/commands/tablecmds.c               | 11 ++++++++---
src/test/regress/expected/without_overlaps.out | 20 ++++++++++++++++++--
src/test/regress/sql/without_overlaps.sql      |  3 ++-
3 files changed, 28 insertions(+), 6 deletions(-)