Merlin Moncure <mmonc...@gmail.com> wrote:
 
> Trying to understand real world cases that this would
> break...would the following now fail w/o explicit cast?
> 
> create type x as (a int, b int);
> select f((1,2));
 
It already does:
 
test=# create type x as (a int, b int);
CREATE TYPE
test=# select f((1,2));
ERROR:  function f(record) does not exist
LINE 1: select f((1,2));
               ^
HINT:  No function matches the given name and argument types. You
might need to add explicit type casts.

-Kevin

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to