diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-12-10 13:26:09 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-12-10 13:26:09 +0100 |
commit | 74edabce7a33f428371f0da6c0338837fd9ac55e (patch) | |
tree | ac8531ee09ce38a3b4aa6ca1f2516803587a8ea3 /contrib/postgres_fdw/postgres_fdw.h | |
parent | 13544e790ef8c4fe9043ba59276e5182ce9a623a (diff) | |
download | postgresql-74edabce7a33f428371f0da6c0338837fd9ac55e.tar.gz postgresql-74edabce7a33f428371f0da6c0338837fd9ac55e.zip |
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
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions