Re: [HACKERS] proposal: session server side variables - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: [HACKERS] proposal: session server side variables
Date
Msg-id CAMsr+YGW+jFMvn3ex+PLDE5vHZMWu0hiZ7S7oXRy6qpj0jm-Vw@mail.gmail.com
Whole thread Raw
In response to proposal: session server side variables  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] proposal: session server side variables  (Fabien COELHO <fabien.coelho@mines-paristech.fr>)
List pgsql-hackers
On 5 January 2017 at 08:35, Craig Ringer <craig@2ndquadrant.com> wrote:
> On 5 January 2017 at 01:49, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>>
>>> ok understand
>>
>>
>> Good. So we seem to agree that GUCS are transactional?
>
> No. We don't agree. They aren't.

Uh. I take that back.

craig=> SET x.s = 'x';
SET
craig=> BEGIN;
BEGIN
craig=> SET x.s = 'y';
SET
craig=> ROLLBACK;
ROLLBACK
craig=> SHOW x.s;x.s
-----x
(1 row)


I'm surprised, I never knew this.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [HACKERS] proposal: session server side variables
Next
From: Joe Conway
Date:
Subject: Re: [HACKERS] proposal: session server side variables