Improve internal logical replication error for missing equality strategy
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 10 Dec 2024 11:30:42 +0000 (12:30 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 10 Dec 2024 11:30:42 +0000 (12:30 +0100)
commit321c287351f707c38c1fa94c1ac89bcc3134ed59
tree00bd04b5df948dd05769c444b094a7a20206464f
parentd37e856410d0856cb851e11b2e0191edf6cde527
Improve internal logical replication error for missing equality strategy

This "shouldn't happen", except right now it can with a temporal gist
index (to be fixed soon), because of missing gist support in
get_equal_strategy_number().  But right now, the error is not caught
right away, but instead you get the subsequent error about a "missing
operator 0".  This makes the error more accurate.

Author: Paul Jungwirth <pj@illuminatedcomputing.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com
src/backend/executor/execReplication.c