Re: ecpg - GRANT bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ecpg - GRANT bug
Date
Msg-id 10772.1003246728@sss.pgh.pa.us
Whole thread Raw
In response to Re: ecpg - GRANT bug  (Lee Kindness <lkindness@csl.co.uk>)
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: compiling on Solaris 8 x86
Next
From: Bruce Momjian
Date:
Subject: Re: ecpg - GRANT bug