]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Tweak previous patch to ensure edata->filename always gets initialized.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Nov 2011 05:37:33 +0000 (00:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Nov 2011 05:37:33 +0000 (00:37 -0500)
commited30dff211c988622d1ff43f5de2b5821a961980
tree0ff7779f242087f42d8e02df0d8401560d478de3
parent74f02254c5c2b8f0bca49ed482b1c82899290ca5
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.
src/backend/utils/error/elog.c