citus/src
Naisila Puka 2e06e62476 Adds tests for suppressed constants in postgres_fdw queries (#6370)
PG15 has suppressed some casts on constants when querying foreign
tables.
For example, we can use text to represent a type that's an enum on the
remote side.
A comparison on such a column will get shipped as "var = 'foo'::text".
But there's no enum = text operator on the remote side.
If we leave off the explicit cast, the comparison will work.

Test we behave in the same way with a Citus foreign table
Reminder: foreign tables cannot be distributed/reference, can only be
Citus local

Relevant PG commit:
f8abb0f5e1

(cherry picked from commit 1b26d57288)
2022-10-12 15:14:04 +03:00
..
backend Fixes empty password issue (#6417) 2022-10-11 15:59:43 +03:00
bin/pg_send_cancellation Make enterprise features open source (#6008) 2022-06-16 00:23:46 -07:00
include [Columnar] Bugfix for Columnar: options ignored during ALTER TABLE (#6411) 2022-10-09 22:30:54 -07:00
test Adds tests for suppressed constants in postgres_fdw queries (#6370) 2022-10-12 15:14:04 +03:00