pgsql: Improve internal logical replication error for missing equality

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve internal logical replication error for missing equality
Date: 2024-12-10 11:34:52
Message-ID: E1tKyVw-00225a-0u@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)illuminatedcomputing(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/321c287351f707c38c1fa94c1ac89bcc3134ed59

Modified Files
--------------
src/backend/executor/execReplication.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-12-10 11:59:22 pgsql: Replace get_equal_strategy_number_for_am() by get_equal_strategy
Previous Message Michael Paquier 2024-12-10 04:02:46 pgsql: Fix comments of GUC hooks for timezone_abbreviations