Log the location field before any backtrace
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 10 Jul 2020 06:27:00 +0000 (08:27 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 10 Jul 2020 06:31:48 +0000 (08:31 +0200)
commit8ff4d1277b8660de85e4a7d796ccc1b64187d80f
treefc693044cab19d5031a32ab56f2277f794492447
parentc3a79e71929a6b5cdd2416ab4976dab59736c937
Log the location field before any backtrace

This order makes more sense because the location is effectively at the
lowest level of the backtrace.

Discussion: https://www.postgresql.org/message-id/flat/90f5fa04-c410-a54e-9449-aa3749fb7972%402ndquadrant.com
src/backend/utils/error/elog.c