Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 309839b

Browse files
author
Nikita Glukhov
committed
Remove COERCE_INTERNAL_CAST in SQL/JSON functions
1 parent aef3088 commit 309839b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/parser/parse_expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4853,7 +4853,7 @@ transformJsonFuncExpr(ParseState *pstate, JsonFuncExpr *func)
48534853
jsexpr->returning->typid,
48544854
jsexpr->returning->typmod,
48554855
COERCION_EXPLICIT,
4856-
COERCE_INTERNAL_CAST,
4856+
COERCE_IMPLICIT_CAST,
48574857
location);
48584858

48594859
if (!jsexpr->result_coercion->expr)

0 commit comments

Comments
 (0)