Andres Freund <and...@anarazel.de> writes: > I'd like to propose that we do a configure test for __builtin_trap() and use > it, if available, before the abort() in ExceptionalCondition(). Perhaps also > for PANIC, but it's not as clear to me whether we should.
Does that still result in the same process exit signal being reported to the postmaster? The GCC manual makes it sound like the reported signal could be platform-dependent, which'd be kind of confusing. regards, tom lane