Re: Needed function IF(expr, expr, expr)

From: "Marek Lewczuk" <newsy(at)lewczuk(dot)com>
To: "'Bruno Wolff III'" <bruno(at)wolff(dot)to>
Cc: "'Lista dyskusyjna pgsql-general'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Needed function IF(expr, expr, expr)
Date: 2003-09-06 17:09:08
Message-ID: 000f01c37499$96c11380$1d694cd5@marek
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>
> 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.

>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Franco Bruno Borghesi 2003-09-06 17:11:07 Re: C functions
Previous Message Tom Lane 2003-09-06 16:47:07 Re: Needed function IF(expr, expr, expr)

Browse pgsql-hackers by date

  From Date Subject
Next Message Franco Bruno Borghesi 2003-09-06 17:19:37 Re: Needed function IF(expr, expr, expr)
Previous Message Tom Lane 2003-09-06 16:52:13 Re: [PATCHES] Warning for missing createlang