Re: ecpg - GRANT bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Michael Meskes <meskes(at)postgresql(dot)org>
Subject: Re: ecpg - GRANT bug
Date: 2001-10-16 15:38:48
Message-ID: 10772.1003246728@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Lee Kindness <lkindness(at)csl(dot)co(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tony Tomov 2001-10-16 16:04:52 strange behavior when creting rules
Previous Message Tom Lane 2001-10-16 15:28:38 Re: Bug #478: Integer overflow in pg_dump

Browse pgsql-hackers by date

  From Date Subject
Next Message Bill Studenmund 2001-10-16 17:08:24 Re: Package support for Postgres
Previous Message Flancer 2001-10-16 15:24:12 To Postgres Devs : Wouldn't changing the select limit syntax ....