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

From Tom Lane
Subject pgsql: Tweak previous patch to ensure edata->filename always gets initi
Date
Msg-id E1RVcro-0002Ul-7g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Tweak previous patch to ensure edata->filename always gets initi
Next
From: Tom Lane
Date:
Subject: pgsql: Tweak previous patch to ensure edata->filename always gets initi