From: | Michael Glaesemann <grzm(at)myrealbox(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-patches(at)postgreSQL(dot)org |
Subject: | Re: Proposed patch for error locations |
Date: | 2006-03-13 07:42:59 |
Message-ID: | C3817205-17E1-4D6C-9D92-ED6045123F92@myrealbox.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces pgsql-patches |
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
> needed.
>
> 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
> certainly
> 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?
Michael Glaesemann
grzm myrealbox com
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-03-13 11:43:31 | Re: Proposed patch for error locations |
Previous Message | Tom Lane | 2006-03-12 17:37:35 | Proposed patch for error locations |
From | Date | Subject | |
---|---|---|---|
Next Message | ITAGAKI Takahiro | 2006-03-13 08:38:01 | Re: [PATCHES] Automatic free space map filling |
Previous Message | Neil Conway | 2006-03-13 07:26:31 | Re: Fix syntax errors in contrib uninstall scripts |