| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Nikolai Zhubr <n-a-zhubr(at)yandex(dot)ru> |
| Cc: | PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Server-side hooks for user session start and session end |
| Date: | 2015-09-27 20:22:53 |
| Message-ID: | CAFj8pRB0LS=DT-0p278ki7xm3ka3wCeZeBALtvWyf93GqR2mBQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
2015-09-27 13:33 GMT+02:00 Nikolai Zhubr <n-a-zhubr(at)yandex(dot)ru>:
> Hi,
> 27.09.2015 8:29, Pavel Stehule:
>
>> I'll check it.
>>
>>
>> It is working. Patch attached
>>
>
> Oh, brilliant! This is a _huge_ help actually!
>
> If I understand it correctly, any unhandled SQL-level exceptions will
> essentially be ignored there, so that the session will continue regardless?
>
> And maybe it could even be proposed for upstream?
> It is so wonderfully small and looks not too much intrusive.
>
>
>
updated patch - fixed error reporting
Regards
Pavel
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
| Attachment | Content-Type | Size |
|---|---|---|
| session_exec.patch | text/x-patch | 3.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2015-09-27 20:37:00 | Re: Server-side hooks for user session start and session end |
| Previous Message | Pavel Stehule | 2015-09-27 19:59:39 | Re: Server-side hooks for user session start and session end |