]> granicus.if.org Git - postgresql/commit
elog(NOTICE) during COPY incorrectly reset lineno to 0, causing any
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 Apr 2000 19:13:08 +0000 (19:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 Apr 2000 19:13:08 +0000 (19:13 +0000)
commit4ca7d148cb5f46b79b7da15d3330ac7361b85c21
treee5b6a33e5c391336102cda7d0782aa5469f22e2e
parentffc9812451c67293ea2ff4cf60ba8c195ca9616b
elog(NOTICE) during COPY incorrectly reset lineno to 0, causing any
subsequent elogs() in the same COPY operation to display the wrong
line number.  Fix is to clear lineno only when elog level is such
that we will not return to caller.
src/backend/utils/error/elog.c