Re: PL/pgSQL 2 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: PL/pgSQL 2
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: PL/pgSQL 2  (Joel Jacobson <[email protected]>)
List pgsql-hackers
On 09/01/2014 05:41 PM, Joel Jacobson wrote:
> On Mon, Sep 1, 2014 at 4:26 PM, Craig Ringer <[email protected]> wrote:
>> Well, the idiom:
>>
>>    EXECUTE format("SELECT %I FROM %I WHERE $1", col, tbl) USING val;
>>
>> is not lovely. It works, but it's clumsy.
>
> This is exactly why we need a new language.

We could certainly improve that syntax in PL/pgSQL. No need to start 
from scratch for that..

Got a suggestion what the syntax should look like?

- Heikki




pgsql-hackers by date:

Previous
From: Joel Jacobson
Date:
Subject: Re: PL/pgSQL 2
Next
From: Pavel Stehule
Date:
Subject: Re: PL/pgSQL 2