diff options
| author | Peter Eisentraut | 2012-12-21 04:39:33 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2012-12-21 05:10:46 +0000 |
| commit | 740ee42da5fc07e5b1be5c358673224d99cb2aae (patch) | |
| tree | 0a7affd0dfb1c72cc94c145f3471ae8cad6b9bea /src/test | |
| parent | a0bfb7b36e0795a1c69c86b4184ee952dbb650d1 (diff) | |
Make some messages more consistent in style
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/rangetypes.out | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/regress/expected/rangetypes.out b/src/test/regress/expected/rangetypes.out index 1023c4ef3e8..0cb6e53bf07 100644 --- a/src/test/regress/expected/rangetypes.out +++ b/src/test/regress/expected/rangetypes.out @@ -1180,7 +1180,7 @@ drop function anyarray_anyrange_func(anyarray, anyrange); create function bogus_func(anyelement) returns anyrange as 'select int4range(1,10)' language sql; ERROR: cannot determine result data type -DETAIL: A function returning ANYRANGE must have at least one ANYRANGE argument. +DETAIL: A function returning "anyrange" must have at least one "anyrange" argument. -- should fail create function bogus_func(int) returns anyrange as 'select int4range(1,10)' language sql; @@ -1287,14 +1287,14 @@ select * from table_succeed(123, int4range(1,11)); create function outparam_fail(i anyelement, out r anyrange, out t text) as $$ select '[1,10]', 'foo' $$ language sql; ERROR: cannot determine result data type -DETAIL: A function returning ANYRANGE must have at least one ANYRANGE argument. +DETAIL: A function returning "anyrange" must have at least one "anyrange" argument. --should fail create function inoutparam_fail(inout i anyelement, out r anyrange) as $$ select $1, '[1,10]' $$ language sql; ERROR: cannot determine result data type -DETAIL: A function returning ANYRANGE must have at least one ANYRANGE argument. +DETAIL: A function returning "anyrange" must have at least one "anyrange" argument. --should fail create function table_fail(i anyelement) returns table(i anyelement, r anyrange) as $$ select $1, '[1,10]' $$ language sql; ERROR: cannot determine result data type -DETAIL: A function returning ANYRANGE must have at least one ANYRANGE argument. +DETAIL: A function returning "anyrange" must have at least one "anyrange" argument. |
