Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> a motivation for this patch was discussion about parametrised DO
> statement - and simple possibility of access to host variables (psql)
> variables from server - PL scripts.
Pavel, you didn't say what you think about the WITH FUNCTION proposal?
And you didn't say how do you want to turn a utility statement into
something that is able to return a result set.
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support