]> granicus.if.org Git - postgresql/commit
Tweak previous patch to ensure edata->filename always gets initialized.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Nov 2011 05:37:27 +0000 (00:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Nov 2011 05:37:27 +0000 (00:37 -0500)
commit646a93fe761eb2e1887fc8b3c9d778a6028b248d
treeff12eba6d0ef54614b63891c6f4195096cfe3db7
parentfe0fa1f9b403a84f25b163a02e8676119e37b097
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