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:32:06 +0000 (08:32 +0200)
commitff61359ad7cd10e48a9ce662b5f2a5e7f3ca23e1
tree0e7ac171f3240ce21a860e54b10331d4c97dea90
parent986529ce40c6edcd7f83689c00fcfaab8d9436d8
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