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 16:09:52 |
Message-ID: | CAFj8pRCCx1qK9PFOOocJpaai=Ud14MzJmTmdRvoJtBLWE4x5EQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>> > SELECT UNCACHED t.a, t.b FROM INTO a,b;
>>
>> Yeah -- this is pretty ugly admittedly. Maybe control directive is
>> ok, as long as you can set it mid function?
>>
>
> ADA uses for this purpose PRAGMA keyword - it is used for everything in
> ADA - cycle iteration optimization, ...the scope can be statement, block,
> procedure.
>
Pragma is used for changing (enforcing) behave. There are pragmas ada_05,
ada_2012, ..
>
> so something like
>
> BEGIN
> PRAGMA uncached_plans;
> SELECT ...
> ..
> END;
>
> But it should be verified by some PL/SQL or Ada experts
>
> Regards
>
>
>
>
>
>>
>> merlin
>>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2017-01-04 16:19:38 | Re: proposal: session server side variables |
Previous Message | Pavel Stehule | 2017-01-04 16:07:06 | Re: merging some features from plpgsql2 project |