@@ -1124,17 +1124,17 @@ ERROR: positional argument cannot follow named argument
11241124LINE 1: select * from dfunc(10, b := 20, 30);
11251125 ^
11261126select * from dfunc(x := 10, b := 20, c := 30); -- fail, unknown param
1127- ERROR: function dfunc(x := integer, b := integer, c := integer) does not exist
1127+ ERROR: function dfunc(x => integer, b => integer, c => integer) does not exist
11281128LINE 1: select * from dfunc(x := 10, b := 20, c := 30);
11291129 ^
11301130HINT: No function matches the given name and argument types. You might need to add explicit type casts.
11311131select * from dfunc(10, 10, a := 20); -- fail, a overlaps positional parameter
1132- ERROR: function dfunc(integer, integer, a := integer) does not exist
1132+ ERROR: function dfunc(integer, integer, a => integer) does not exist
11331133LINE 1: select * from dfunc(10, 10, a := 20);
11341134 ^
11351135HINT: No function matches the given name and argument types. You might need to add explicit type casts.
11361136select * from dfunc(1,c := 2,d := 3); -- fail, no value for b
1137- ERROR: function dfunc(integer, c := integer, d := integer) does not exist
1137+ ERROR: function dfunc(integer, c => integer, d => integer) does not exist
11381138LINE 1: select * from dfunc(1,c := 2,d := 3);
11391139 ^
11401140HINT: No function matches the given name and argument types. You might need to add explicit type casts.
@@ -1175,7 +1175,7 @@ select * from dfunc('Hello World', c := '2009-07-25'::date, b := 20);
11751175(1 row)
11761176
11771177select * from dfunc('Hello World', c := 20, b := '2009-07-25'::date); -- fail
1178- ERROR: function dfunc(unknown, c := integer, b := date) does not exist
1178+ ERROR: function dfunc(unknown, c => integer, b => date) does not exist
11791179LINE 1: select * from dfunc('Hello World', c := 20, b := '2009-07-25...
11801180 ^
11811181HINT: No function matches the given name and argument types. You might need to add explicit type casts.
@@ -1450,8 +1450,8 @@ select * from dfview;
14501450View definition:
14511451 SELECT int8_tbl.q1,
14521452 int8_tbl.q2,
1453- dfunc(int8_tbl.q1, int8_tbl.q2, flag := int8_tbl.q1 > int8_tbl.q2) AS c3,
1454- dfunc(int8_tbl.q1, flag := int8_tbl.q1 < int8_tbl.q2, b := int8_tbl.q2) AS c4
1453+ dfunc(int8_tbl.q1, int8_tbl.q2, flag => int8_tbl.q1 > int8_tbl.q2) AS c3,
1454+ dfunc(int8_tbl.q1, flag => int8_tbl.q1 < int8_tbl.q2, b => int8_tbl.q2) AS c4
14551455 FROM int8_tbl;
14561456
14571457drop view dfview;
0 commit comments