Search Postgresql Archives

Altering functions cast

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

 



How do I get this to work?

create function nullif_bool(boolean) returns
bool as ' select nullif(''$1'','''')::bool;' language
sql;

???

Thank you.




		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

[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