Re: ecpg - GRANT bug
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lee Kindness <lkindness@csl.co.uk>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-hackers@postgresql.org, Michael Meskes <meskes@postgresql.org>
Date: 2001-10-16T15:38:48Z
Lists: pgsql-bugs, pgsql-hackers
Lee Kindness <lkindness@csl.co.uk> writes: > And the patch below corrects a pet peeve I have with ecpg, all errors > and warnings are output with a line number one less than reality... Hmm. yylineno *should* be the right thing. I think you are patching a symptom rather than fixing the correct cause. Perhaps look into the way that the line number counter is initialized? regards, tom lane