@@ -2711,12 +2711,12 @@ SELECT JSON_VALUE('{"a": "A"}', '$.a' RETURNING d1 DEFAULT 'C' ON EMPTY) = 'a';
27112711(1 row)
27122712
27132713SELECT JSON_VALUE('{"a": "A"}', '$.a' RETURNING d1 DEFAULT 'C'::d2 ON EMPTY) = 'a'; -- error
2714- ERROR: the collation of DEFAULT expression conflicts with RETURNING clause
2714+ ERROR: collation of DEFAULT expression conflicts with RETURNING clause
27152715LINE 1: ...ON_VALUE('{"a": "A"}', '$.a' RETURNING d1 DEFAULT 'C'::d2 ON...
27162716 ^
27172717DETAIL: "C" versus "case_insensitive"
27182718SELECT JSON_VALUE('{"a": "A"}', '$.a' RETURNING d1 DEFAULT 'C' COLLATE "C" ON EMPTY) = 'a'; -- error
2719- ERROR: the collation of DEFAULT expression conflicts with RETURNING clause
2719+ ERROR: collation of DEFAULT expression conflicts with RETURNING clause
27202720LINE 1: ...ON_VALUE('{"a": "A"}', '$.a' RETURNING d1 DEFAULT 'C' COLLAT...
27212721 ^
27222722DETAIL: "C" versus "case_insensitive"
@@ -2733,12 +2733,12 @@ SELECT JSON_VALUE('{"a": "A"}', '$.c' RETURNING d1 DEFAULT 'A' COLLATE case_inse
27332733(1 row)
27342734
27352735SELECT JSON_VALUE('{"a": "A"}', '$.c' RETURNING d1 DEFAULT 'A'::d2 ON EMPTY) = 'a'; -- error
2736- ERROR: the collation of DEFAULT expression conflicts with RETURNING clause
2736+ ERROR: collation of DEFAULT expression conflicts with RETURNING clause
27372737LINE 1: ...ON_VALUE('{"a": "A"}', '$.c' RETURNING d1 DEFAULT 'A'::d2 ON...
27382738 ^
27392739DETAIL: "C" versus "case_insensitive"
27402740SELECT JSON_VALUE('{"a": "A"}', '$.c' RETURNING d1 DEFAULT 'A' COLLATE "C" ON EMPTY) = 'a'; -- error
2741- ERROR: the collation of DEFAULT expression conflicts with RETURNING clause
2741+ ERROR: collation of DEFAULT expression conflicts with RETURNING clause
27422742LINE 1: ...ON_VALUE('{"a": "A"}', '$.c' RETURNING d1 DEFAULT 'A' COLLAT...
27432743 ^
27442744DETAIL: "C" versus "case_insensitive"
0 commit comments