Re: patch: shared session variables - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: patch: shared session variables
Date
Msg-id CAFj8pRBc-rK2J15uAqN3p1yvSgc87nFweZ8+yKRe1j-rOfpD8w@mail.gmail.com
Whole thread Raw
In response to Re: patch: shared session variables  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: patch: shared session variables
Re: patch: shared session variables
List pgsql-hackers
2012/8/30 Robert Haas <robertmhaas@gmail.com>:
> On Tue, Aug 14, 2012 at 3:46 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> patch that implements "shared" client/server session variables
>
> I don't really see what we can do with this that we can't do without this.

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.

It is based on Tom's and Magnus's ideas - it is secure, because only
variables explicitly mentioned in shared namespace are "shared".

http://archives.postgresql.org/pgsql-hackers/2012-06/msg01506.php

Regards

Pavel

>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [WIP] Performance Improvement by reducing WAL for Update Operation
Next
From: Joe Abbate
Date:
Subject: Re: pg_operator.oprcode in 9.2rc1