2018-05-03 19:25 GMT-03:00 Mike Palmiotto <mike.palmio...@crunchydata.com>: > I am writing a PostgreSQL extension and need to reload certain > extension-managed files whenever the postmaster is reloaded/receives SIGHUP, > but cannot find anything that looks like a standard way to do that. Is there a > hook or recommended method or something else I am missing? > Signals are initially blocked in bgworker. You have to unblock them (see BackgroundWorkerUnblockSignals) to allow your extension to customize its signal handlers. See an example in worker_spi test module.
-- Euler Taveira Timbira - http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento