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
------
master

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

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