From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Marko Tiikkaja <marko(at)joh(dot)to> |
Subject: | Re: merging some features from plpgsql2 project |
Date: | 2017-01-04 19:49:47 |
Message-ID: | CAFj8pRBYsAFMANcLi+LmEz_cw23vwkQZcZVG0pXd+FVFrkG45A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
> so some possible design can be:
>
> DECLARE
> PRAGMA UNCACHED_PLANS;
> BEGIN
> SELECT ... INTO ;
> SELECT ... INTO ;
> END;
>
> This respects Ada and PL/SQL style - probably easy implementation
>
> Regards
>
> Pavel
>
some examples based on Ada doc
FUNCTION xxx RETURN int AS
PRAGMA yyy -- pragma has function scope
BEGIN
FUNCTION xxx RETURN int AS
BEGIN
DECLARE
PRAGMA yyy -- pragma has block scope
Regards
Pavel
>
>
>>
>> Regards
>>
>>
>>
>>
>>
>>>
>>> merlin
>>>
>>
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2017-01-04 19:54:07 | Re: pgsql: Update copyright for 2017 |
Previous Message | Peter Eisentraut | 2017-01-04 19:44:27 | Re: Replication/backup defaults |