Re: [GENERAL] What is the problem with this query?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [GENERAL] What is the problem with this query?
Дата
Msg-id CAKFQuwZX8n1m0mW8K27LUHcG=okFyu6MjFzhzEMx11eKP0zFrg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] What is the problem with this query?  (Igor Korot <ikorot01@gmail.com>)
Список pgsql-general
On Sunday, July 23, 2017, Igor Korot <ikorot01@gmail.com> wrote:
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?


CREATE FUNCTION or a DO block. See docs for usage.

Since the language is pl/pgsql you can learn how to write it here.


David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: PT
Дата:
Сообщение: Re: [GENERAL] Perfomance of IN-clause with many elements andpossible solutions
Следующее
От: Tim Uckun
Дата:
Сообщение: [GENERAL] Dealing with ordered hierarchies