Install Windows crash dump handler before all else

Enterprise / PostgreSQL - Noah Misch [leadboat.com] - 12 November 2017 22:31 EST

Apart from calling write_stderr() on failure, the handler depends on no PostgreSQL facilities. We have experienced crashes before reaching the former call site. Given such an early crash, this change cannot hurt and may produce a helpful dump. Absent an early crash, this change has no effect. Back-patch to 9.3 (all supported versions).

Takayuki Tsunakawa

Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F80CD13@G01JPEXMBYT05

cbfffee41c Install Windows crash dump handler before all else.
src/backend/main/main.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Upstream: git.postgresql.org


  • Share