Hi, David, On Sun, Jul 23, 2017 at 5:07 PM, David G. Johnston <david.g.johnston@xxxxxxxxx> wrote: > On Sunday, July 23, 2017, Igor Korot <ikorot01@xxxxxxxxx> 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. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general