Lee Kindness <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html