From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Support for GiST in get_equal_strategy_number() |
Date: | 2024-12-10 12:31:46 |
Message-ID: | E1tKzOz-0022PI-Rf@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)illuminatedcomputing(dot)com>
Reviewed-by: vignesh C <vignesh21(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg(at)mail(dot)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2024-12-10 14:09:44 | pgsql: Tests for logical replication with temporal keys |
Previous Message | Peter Eisentraut | 2024-12-10 12:17:20 | pgsql: Make the conditions in IsIndexUsableForReplicaIdentityFull() mor |