Re: [PATCHES] Better handling of parse errors - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] Better handling of parse errors
Date
Msg-id Pine.LNX.4.44.0208182329120.13718-100000@localhost.localdomain
Whole thread Raw
In response to Re: [PATCHES] Better handling of parse errors  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] Better handling of parse errors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> "Character 1" is correct as of the context that the parser is working
> in, namely the function body.  I don't think we can do much to change
> that, but perhaps we could make the message read like
> ERROR:  parser: parse error at or near "not" at character 1 of function body

That would be better.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Removing Libraries (Was: Re: Open 7.3 issues)
Next
From: Peter Eisentraut
Date:
Subject: Re: Open 7.3 items