Jaime Casanova <jcasanov@systemguards.com.ec> wrote:
> integrated_user_processes = 'x, y, z'
> API would be user_process_startup(), user_process_shutdown().
FYI, pg_statsinfo version 2 emulates the same behavior with
shared_preload_libraries and spawn an user process in _PG_init().
But it's still ugly and not so reliable. Official APIs would be better.
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgstatsinfo/pg_statsinfo/lib/libstatsinfo.c
It came from voices from end users that an extension should behave as
a postgres internal daemon rather than a wrapper of postgres.
Regards,
---
Takahiro Itagaki
NTT Open Source Software Center