Pass constructName to transformJsonValueExpr() This allows it to pass to coerce_to_specific_type() the actual name corresponding to the specific JSON_* function expression being transformed, instead of the currently hardcoded string.
Backpatched to 16 from the development branch to keep the code in sync across branches. Reviewed-by: Álvaro Herrera <alvhe...@alvh.no-ip.org> Discussion: https://postgr.es/m/ca+hiwqhu58po3cj7rb6zlwuztvdg1j66xsjddjfan5ut5nh...@mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7825a1b01e400434835253b4ff38dd96d823d454 Modified Files -------------- src/backend/parser/parse_expr.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-)