Re: proposal: session server side variables

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: proposal: session server side variables
Date: 2017-02-06 20:36:38
Message-ID: alpine.DEB.2.20.1702062027180.8133@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello,

> I'll work on my proposal in v11 time. Maybe in this time Postgres will
> support autonomous transactions.

Maybe.

> The variables syntax should be better integrated to core - it should be
> implemented without getter/setter functions.

Yes, a nicer syntax would be great.

Note that setter/getter could be useful for some use case, eg with queries
built dynamically?

> I am not sure If statement SET can be enhanced to allows the work with
> session variables without some conflicts, but we will see.

If so, maybe some kind of prefix could provide a workaround.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-02-06 20:39:10 Re: Active zombies at AIX
Previous Message Robert Haas 2017-02-06 20:34:19 Re: Add pgstathashindex() to get hash index table statistics.