Re: postgres_fdw could deparse ArrayCoerceExpr - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: postgres_fdw could deparse ArrayCoerceExpr
Date
Msg-id CACG=ezamc2JY7SkhfBMWsybf-O+nSPzK36cMcDg8yCjFWM3R0Q@mail.gmail.com
Whole thread Raw
In response to Re: postgres_fdw could deparse ArrayCoerceExpr  (Alexander Pyhalov <a.pyhalov@postgrespro.ru>)
Responses Re: postgres_fdw could deparse ArrayCoerceExpr
List pgsql-hackers


On Mon, 27 Jan 2025 at 09:46, Alexander Pyhalov <a.pyhalov@postgrespro.ru> wrote:
Unfortunately, it's not so simple. We can't just ship type casts to
remote server if we are not sure that local and remote types match. For
example,
 
Yeah, my fault. I've overlooked an "elemexpr" member in "ArrayCoerceExpr" and erroneously 
consider them to have the same structure. Maybe some refactoring may be done here, but, 
obviously, this is not a goal of this patch

--
Best regards,
Maxim Orlov.

pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: Show WAL write and fsync stats in pg_stat_io
Next
From: Tom Lane
Date:
Subject: Re: BF member drongo doesn't like 035_standby_logical_decoding.pl