Обсуждение: pgsql: Make worker_spi sample code more complete

Поиск
Список
Период
Сортировка

pgsql: Make worker_spi sample code more complete

От
Alvaro Herrera
Дата:
Make worker_spi sample code more complete

Make use of some GUC variables, and add SIGHUP handling to reload
the config file.  Patch submitted by Guillaume Lelarge.

Also, report to pg_stat_activity.  Per report from Marc Cousin, add
setting of statement start time.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e543631f3c162ab5f6020b1d0209e0353ca2229a

Modified Files
--------------
contrib/worker_spi/worker_spi.c |  153 ++++++++++++++++++++++++++++++---------
1 files changed, 120 insertions(+), 33 deletions(-)