pgsql: Tweak previous patch to ensure edata->filename always gets initi

Started by Tom Laneover 14 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Tweak previous patch to ensure edata->filename always gets initialized.

On a platform that isn't supplying __FILE__, previous coding would either
crash or give a stale result for the filename string. Not sure how likely
that is, but the original code catered for it, so let's keep doing so.

Branch
------
REL8_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f97aaaa06c3c79c54e9b3051f03f9bfe56b8a9c6

Modified Files
--------------
src/backend/utils/error/elog.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)