Re: patch: shared session variables

Dimitri Fontaine <dimitri@2ndquadrant.fr>

From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2012-08-31T12:10:46Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.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