Pass constructName to transformJsonValueExpr()
authorAmit Langote <amitlan@postgresql.org>
Fri, 7 Jul 2023 03:08:58 +0000 (12:08 +0900)
committerAmit Langote <amitlan@postgresql.org>
Thu, 13 Jul 2023 03:13:49 +0000 (12:13 +0900)
commit785480c9533d9a905410c1a52f857a431daec37c
tree7b66f4efd6c22d76c2033e5605d5da7074ee40a0
parentc17164aec88cfa2d1b949e76e05e4ebafd74936c
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.

Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/CA+HiwqE4XTdfb1nW=Ojoy_tQSRhYt-q_kb6i5d4xcKyrLC1Nbg@mail.gmail.com
src/backend/parser/parse_expr.c