Search Postgresql Archives

Can't use "any" with SQL functions

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

 



Is there a reason we disallow using "any" with SQL functions?

decibel@xxxxxxxxxxxxxxx=# create function textcoalesce("any") returns void language sql as $$SELECT coalesce( $1::text, '<NULL>' )$$;
ERROR:  SQL functions cannot have arguments of type "any"
STATEMENT: create function textcoalesce("any") returns void language sql as $$SELECT coalesce( $1::text, '<NULL>' )$$;
ERROR:  SQL functions cannot have arguments of type "any"
decibel@xxxxxxxxxxxxxxx=# SELECT version();
version ------------------------------------------------------------------------ ----------------------------------------------------------------------- PostgreSQL 8.3.7 on powerpc-apple-darwin8.11.0, compiled by GCC powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)
(1 row)

decibel@xxxxxxxxxxxxxxx=#
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@xxxxxxxxxxx
Give your computer some brain candy! www.distributed.net Team #1828



--
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