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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak previous patch to ensure edata->filename always gets initi
Date: 2011-11-30 05:38:00
Message-ID: E1RVcro-0002Uq-BB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2011-11-30 14:19:08 npgsql - Npgsql2: Removed assembly info creation from build process.
Previous Message Peter Eisentraut 2011-11-30 04:59:19 pgsql: Strip file names reported in error messages in vpath builds