Re: Proposed p.tch for error locations - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Proposed p.tch for error locations
Date
Msg-id 7837.1142266110@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposed p.tch for error locations  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-interfaces
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> That information is already available to pgAdmin, and has been since
>> 7.4; if they are failing to exploit it that's their problem not libpq's.

> Aye, that's fine.  I don't really know if pgAdmin uses the info or not.
> I thought the proposal to remove the "at character N" in the error
> message meant that the only way to get that information would be from
> the "LINE Y: ...\n[some whitespace]^" message, which would be pretty
> cumbersome.

You should reflect on the fact that psql is currently generating that
line from outside libpq ...

            regards, tom lane

pgsql-interfaces by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Proposed p.tch for error locations
Next
From: Milen Dzhumerov
Date:
Subject: Compiling/Linking on win32