Re: [GENERAL] What is the problem with this query? - Mailing list pgsql-general

From Igor Korot
Subject Re: [GENERAL] What is the problem with this query?
Date
Msg-id CA+FnnTwxTfxTAzOFtbEj+EYthH42FaySChi4LnvWE1HPq8idtA@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] What is the problem with this query?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: [GENERAL] What is the problem with this query?  (Christoph Moench-Tegeder <cmt@burggraben.net>)
Re: [GENERAL] What is the problem with this query?  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
Hi, David,

On Sun, Jul 23, 2017 at 5:07 PM, David G. Johnston
<david.g.johnston@gmail.com> wrote:
> On Sunday, July 23, 2017, Igor Korot <ikorot01@gmail.com> wrote:
>>
>> Is "IF" operator not supported by PostgreSQL

So how do I write this properly?

Thank you.

>
>
> IF is pl/pgsql, not SQL.
>
> David J.


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] What is the problem with this query?
Next
From: Christoph Moench-Tegeder
Date:
Subject: Re: [GENERAL] What is the problem with this query?