diff options
author | Alexander Korotkov | 2025-07-18 07:52:05 +0000 |
---|---|---|
committer | Alexander Korotkov | 2025-07-18 07:52:05 +0000 |
commit | 62c3b4cd9ddc6d3066e3f6e43b68fd00c620d9ad (patch) | |
tree | a91002710828fa10122545bec52c473f777a2048 /src/template/cygwin | |
parent | b597ae6cc128b17038d461c5aa426d42f9cc33f9 (diff) |
When using a prepared statement to select data from a PostgreSQL foreign
table (postgres_fdw) with the "field = ANY($1)" expression, the operation
is not pushed down when an implicit type case is applied, and a generic plan
is used. This commit resolves the issue by supporting the push-down of
ArrayCoerceExpr, which is used in this case. The support is quite
straightforward and similar to other nods, such as RelabelType.
Discussion: https://postgr.es/m/4f0cea802476d23c6e799512ffd17aff%40postgrespro.ru
Author: Alexander Pyhalov <a.pyhalov@postgrespro.ru>
Reviewed-by: Maxim Orlov <orlovmg@gmail.com>
Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
Diffstat (limited to 'src/template/cygwin')
0 files changed, 0 insertions, 0 deletions