| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Fabien COELHO <fabien(dot)coelho(at)mines-paristech(dot)fr> |
| Cc: | Craig Ringer <craig(at)2ndquadrant(dot)com>, Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Joe Conway <mail(at)joeconway(dot)com> |
| Subject: | Re: proposal: session server side variables |
| Date: | 2017-01-05 10:04:09 |
| Message-ID: | CAFj8pRBNvWSdo24R5i30CLGV0XCi3=ZRizXtKDH+TkmZEmEiOg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
2017-01-05 10:59 GMT+01:00 Fabien COELHO <fabien(dot)coelho(at)mines-paristech(dot)fr>:
>
> Good. So we seem to agree that GUCS are transactional?
>>>>
>>>
>> I'm surprised, I never knew this.
>>
>
> I must admit that it was also a (good) surprise for me.
>
> The documentation says it:
>
> """
> If SET (or equivalently SET SESSION) is issued within a transaction that
> is later aborted, the effects of the SET command disappear when the
> transaction is rolled back. Once the surrounding transaction is committed,
> the effects will persist until the end of the session, unless overridden by
> another SET.
> """
>
> But I have not found anything clear about user-defined parameters.
https://www.postgresql.org/docs/current/static/runtime-config-custom.html
Pavel
>
>
> --
> Fabien.
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2017-01-05 10:10:18 | Re: Odd behavior with PG_TRY |
| Previous Message | Fabien COELHO | 2017-01-05 09:59:26 | Re: proposal: session server side variables |