On Tue, Dec 4, 2018 at 10:20 AM Stephen Frost <sfr...@snowman.net> wrote: > (and I have to wonder- if we want nearly all callers of > WaitLatch/WaitLatchOrSocket to use WL_EXIT_ON_PM_DEATH, maybe we should > make that the default and allow it to be overridden..? ...
That is what I proposed. It was Heikki who talked me into the opt-in solution, but using an assertion to make sure you handle it one way or the other: https://www.postgresql.org/message-id/6417314e-93d5-ed2d-9012-8d6e9ed21778%40iki.fi Perhaps I should have sought more opinions. Please feel free to start a new thread on that if you don't like the way it was done. -- Thomas Munro http://www.enterprisedb.com