On Wed, Jan 4, 2017 at 1:49 PM, Pavel Stehule <pavel.steh...@gmail.com> wrote: > >> >> 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
ok, sub-block makes sense over statement level IMO. merlin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers