Re: execute if statement

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: execute if statement
Date: 2012-12-03 09:02:15
Message-ID: k9hpqn$hei$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2012-12-01, Peter Kroon <plakroon(at)gmail(dot)com> wrote:
> --f46d043be1f4bd2dec04cfcfbd6a
> Content-Type: text/plain; charset=ISO-8859-1
>
> Mmmmm.......
>
> How do I execute dynamic sql that starts with an if statement.

"if" is not SQL.

> I'm converting mssql code to pgsql.

probably best to rewrite at a higher level.

--
⚂⚃ 100% natural

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2012-12-03 09:39:05 Re: execute if statement
Previous Message John R Pierce 2012-12-03 08:17:59 Re: Bug in postgres 9.2 installation: pg_archivecleanup: command not found