Search Postgresql Archives

Re: Server-side hooks for user session start and session end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





2015-09-27 13:33 GMT+02:00 Nikolai Zhubr <n-a-zhubr@xxxxxxxxx>:
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?

no, unhandled exeception enforce FATAL error. So you cannot to login to this session
 

And maybe it could even be proposed for upstream?

It is extension, so it can live outside.

The accepting to upstream depends on community. I have not too free time to push this patch. But anybody can do it - or upload to PGXN
 
It is so wonderfully small and looks not too much intrusive.

It is really simple.

Regards

Pavel



Thank you,
Nikolai


Regards

Pavel




--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux