Re: postgres_fdw could deparse ArrayCoerceExpr
Maxim Orlov <orlovmg@gmail.com>
From: Maxim Orlov <orlovmg@gmail.com>
To: Alexander Pyhalov <a.pyhalov@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-01-27T14:15:28Z
Lists: 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.
Commits
-
Fix a typo in the deparseArrayCoerceExpr() header comment
- 4c5159a2d8c0 19 (unreleased) landed
-
Support for deparsing of ArrayCoerceExpr node in contrib/postgres_fdw
- 62c3b4cd9ddc 19 (unreleased) landed