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

From Fabien COELHO
Subject Re: [HACKERS] proposal: session server side variables
Date
Msg-id alpine.DEB.2.20.1701021148160.25242@lancre
Whole thread Raw
In response to Re: [HACKERS] proposal: session server side variables  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
>> Yep, the variable value must be rolled back, I think.
>
> Attention! rollback is significantly expensive than RESET.

I'm quite unclear about the difference... Transactional for an unshared 
only-in-memory session object is probably easy to implement, no WAL is 
needed... So I do not see the difference.

> There are no any product where variables are transactional - we should not
> to create wheel.

Well, AFAICS PostgreSQL GUCs are transactional.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] proposal: session server side variables
Next
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Replication/backup defaults