]> 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:38 +0000 (00:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Nov 2011 05:37:38 +0000 (00:37 -0500)
commitf97aaaa06c3c79c54e9b3051f03f9bfe56b8a9c6
tree7eed3bff6497d30ab992106e0a7d4db28505d043
parent1a44811775d00ac4ac1d3e727bdc9c05ea56a8b9
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