Altering functions cast

From: "Matt A(dot)" <survivedsushi(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Altering functions cast
Date: 2005-08-26 19:22:27
Message-ID: 20050826192228.65750.qmail@web35212.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Manes 2005-08-26 19:23:45 PG 8.0 "CONNECT BY" patch
Previous Message Matt Miller 2005-08-26 18:30:07 Re: Postgresql replication