Re: postgres_fdw could deparse ArrayCoerceExpr

From: Maxim Orlov <orlovmg(at)gmail(dot)com>
To: Alexander Pyhalov <a(dot)pyhalov(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: postgres_fdw could deparse ArrayCoerceExpr
Date: 2025-01-27 14:15:28
Message-ID: CACG=ezamc2JY7SkhfBMWsybf-O+nSPzK36cMcDg8yCjFWM3R0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 27 Jan 2025 at 09:46, Alexander Pyhalov <a(dot)pyhalov(at)postgrespro(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-01-27 14:28:57 Re: BF member drongo doesn't like 035_standby_logical_decoding.pl
Previous Message Nazir Bilal Yavuz 2025-01-27 14:13:39 Re: Show WAL write and fsync stats in pg_stat_io