Altering functions cast - Mailing list pgsql-general

From Matt A.
Subject Altering functions cast
Date
Msg-id 20050826192228.65750.qmail@web35212.mail.mud.yahoo.com
Whole thread Raw
Responses Re: Altering functions cast  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Matt Miller
Date:
Subject: Re: Postgresql replication
Next
From: Steve Manes
Date:
Subject: PG 8.0 "CONNECT BY" patch