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

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

From
Tom Lane
Date:
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
------
REL9_0_STABLE

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

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