pgsql: Support for GiST in get_equal_strategy_number() - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Support for GiST in get_equal_strategy_number()
Date
Msg-id E1tKzOz-0022PI-Rf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Support for GiST in get_equal_strategy_number()

A WITHOUT OVERLAPS primary key or unique constraint is accepted as a
REPLICA IDENTITY, since it guarantees uniqueness.  But subscribers
applying logical decoding messages would fail because there was not
support for looking up the equals operator for a gist index.  This
fixes that: For GiST indexes we can use the stratnum GiST support
function.

Reviewed-by: Paul Jungwirth <pj@illuminatedcomputing.com>
Reviewed-by: vignesh C <vignesh21@gmail.com>
Discussion:
https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/74edabce7a33f428371f0da6c0338837fd9ac55e

Modified Files
--------------
src/backend/executor/execReplication.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Make the conditions in IsIndexUsableForReplicaIdentityFull() mor
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Tests for logical replication with temporal keys