Proper way to reload config files in backend SIGHUP handler

From: Mike Palmiotto <mike(dot)palmiotto(at)crunchydata(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Proper way to reload config files in backend SIGHUP handler
Date: 2018-05-03 22:25:33
Message-ID: 7b8ed64b-f274-c252-9ae2-55b068c78ebf@crunchydata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

All,

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?

Thanks,

--
Mike Palmiotto
Software Engineer
Crunchy Data Solutions
https://crunchydata.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Malcontent null 2018-05-03 22:37:10 Re: Why Not MySQL?
Previous Message Malcontent null 2018-05-03 22:22:27 Re: Why Not MySQL?