Re: Needed function IF(expr, expr, expr) - Mailing list pgsql-general

From Marek Lewczuk
Subject Re: Needed function IF(expr, expr, expr)
Date
Msg-id 000f01c37499$96c11380$1d694cd5@marek
Whole thread Raw
In response to Re: Needed function IF(expr, expr, expr)  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
>
> You should be able to do what you want using CASE instead of IF.

Yes I know that, but as I said before I'm moving from MySQL and my
application is using many querys with this function and replacing all
querys will be very hard. So I belive that the best solution is to write
this function -> I know that it is difficult, but it will help all of
people who wants to user PG.

>




pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Needed function IF(expr, expr, expr)
Next
From: Jeff Eckermann
Date:
Subject: Re: Needed function IF(expr, expr, expr)