You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deduplicate "invalid input syntax" messages for various types.
Previously a lot of the error messages referenced the type in the
error message itself. That requires that the message is translated
separately for each type.
Note that currently a few smallint cases continue to reference the
integer, rather than smallint, type. A later patch will create a
separate routine for 16bit input.
Author: Andres Freund
Discussion: https://postgr.es/m/20180707200158.wpqkd7rjr4jxq5g7@alap3.anarazel.de
Copy file name to clipboardExpand all lines: src/test/regress/expected/aggregates.out
+1-1
Original file line number
Diff line number
Diff line change
@@ -1674,7 +1674,7 @@ LINE 1: select rank(3) within group (order by stringu1,stringu2) fro...
1674
1674
^
1675
1675
HINT: To use the hypothetical-set aggregate rank, the number of hypothetical direct arguments (here 1) must match the number of ordering columns (here 2).
1676
1676
select rank('fred') within group (order by x) from generate_series(1,5) x;
1677
-
ERROR: invalid input syntax for integer: "fred"
1677
+
ERROR: invalid input syntax for type integer: "fred"
1678
1678
LINE 1: select rank('fred') within group (order by x) from generate_...
1679
1679
^
1680
1680
select rank('adam'::text collate "C") within group (order by x collate "POSIX")
0 commit comments