Nico Williams <[email protected]> writes: > What I'd do is have a volatile sig_atomic_t in_signal_handler_context > variable to indicate that we're dying, and then when that is non-zero, > ereport() and friends could use all-async-signal-safe codepaths.
I eagerly await your patch with an async-safe implementation of ereport...
regards, tom lane
