On Mar 13, 2006, at 2:37 , Tom Lane wrote:
> to wit, that we make use of bison's "locations" feature to track token
> positions in the grammar, and add locations to raw parse tree nodes as
> Some examples of what it can do:
This looks really nice.
> One thing I'm noticing already is that the addition of "at
> character N"
> to a lot of these messages isn't an improvement. In psql it's
> redundant with the error-cursor display.
The pure character count is definitely difficult to use with larger
queries. I think it could be more useful if it were
line:char_of_line. Would others find this useful?
grzm myrealbox com
In response to
pgsql-patches by date
|Next:||From: ITAGAKI Takahiro||Date: 2006-03-13 08:38:01|
|Subject: Re: [PATCHES] Automatic free space map filling|
|Previous:||From: Neil Conway||Date: 2006-03-13 07:26:31|
|Subject: Re: Fix syntax errors in contrib uninstall scripts|
pgsql-interfaces by date
|Next:||From: Martijn van Oosterhout||Date: 2006-03-13 11:43:31|
|Subject: Re: Proposed patch for error locations|
|Previous:||From: Tom Lane||Date: 2006-03-12 17:37:35|
|Subject: Proposed patch for error locations|