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 22:51 GMT+02:00 Nikolai Zhubr <n-a-zhubr@xxxxxxxxx>:
Hi,
27.09.2015 22:59, Pavel Stehule:

2015-09-27 21:40 GMT+02:00 Jim Nasby <Jim.Nasby@xxxxxxxxxxxxxx
<mailto:Jim.Nasby@xxxxxxxxxxxxxx>>:

    _PG_fini


It should not work - see a doc

I'd rather consider registering with on_shmem_exit -- as per the insightfull note placed in postgresql.c:4290.
(Haven't tried - just thinking)

This point can be too late. Probably it is good enough for releasing external sources, but the query execution engine can be broken in this moment ~ you cannot to run any SQL

Not tested

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