]> granicus.if.org Git - postgresql/commit
Install Windows crash dump handler before all else.
authorNoah Misch <noah@leadboat.com>
Sun, 12 Nov 2017 22:31:00 +0000 (14:31 -0800)
committerNoah Misch <noah@leadboat.com>
Sun, 12 Nov 2017 22:31:05 +0000 (14:31 -0800)
commit1c065901e3408c3db43593e55aa32da32302dd87
tree0aca0b3d35608eb2cba70401b05e2b3a7a236d0b
parent30e99efe82c71c0320983dee5a9789e9f3f8a8e3
Install Windows crash dump handler before all else.

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
src/backend/main/main.c