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