]> granicus.if.org Git - postgresql/commit
Make worker_spi sample code more complete
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 10 Apr 2013 16:29:25 +0000 (13:29 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 10 Apr 2013 16:29:25 +0000 (13:29 -0300)
commite543631f3c162ab5f6020b1d0209e0353ca2229a
tree88bbfcd03b261cb88d913252416eca2654eac9b3
parent66c01707c6ac9ce7cc7a7e45d0892f6506f1680b
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.
contrib/worker_spi/worker_spi.c