immediate if function - Mailing list pgsql-general

From
Subject immediate if function
Date
Msg-id 001601c2ce5c$b1accc40$2766f30a@development.greatgulfhomes.com
Whole thread Raw
Responses Re: immediate if function  (Neil Conway <neilc@samurai.com>)
List pgsql-general
I have been through the list of functions offered by Postgres and I cannot
find an immediate if function.  Is there one available?  Or perhaps, is
there a better way to do this:

I have a date field, and if the status is X then I want to return the date,
otherwise I want to return a null.  Any ideas?

Terry Fielder
Manager Software Development and Deployment
Great Gulf Homes / Ashton Woods Homes
terry@greatgulfhomes.com



pgsql-general by date:

Previous
From: Neil Conway
Date:
Subject: Re: PGconn thread safety
Next
From: Neil Conway
Date:
Subject: Re: immediate if function