Search Postgresql Archives

Re: Domain types versus anyelement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/9/3 Brendan Jurd <direvus@xxxxxxxxx>:
> # select greater(1::aud, 0);
> ERROR:  function greater(aud, integer) does not exist
> LINE 1: select greater(1::aud, 0);
>               ^
> HINT:  No function matches the given name and argument types. You
> might need to add explicit type casts.
>

Apologies for the spam, I just realised that it's because all
anyelement args in the call to greater() must be the same type.

Cheers,
BJ

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux