client side syntax error position (v3) - Mailing list pgsql-patches

From Fabien COELHO
Subject client side syntax error position (v3)
Date
Msg-id Pine.LNX.4.58.0403120938490.12205@sablons.cri.ensmp.fr
Whole thread Raw
Responses Re: client side syntax error position (v3)
List pgsql-patches
Dear patchers,

New submission... after suggestions by Tom and others, the current result
looks like the following:

psql> CREATE foo;
ERROR:  syntax error at or near "foo" at character 8
LINE 1: CREATE foo;
               ^
psql>

There may still be issues about some mb encodings, especially with
localised error messages.

I think that the only consequence would be that the cursor may be placed
wrongly. Although it would be a bug, it is not a very big issue. I think
that the current patch may be considered for integration, and fixes for
some encodings can be added later if needed.

Also, any suggestion for improvement on this issue is obviously welcome,
but I need to be told the "how"...

Have a nice day,

--
Fabien Coelho - coelho@cri.ensmp.fr

Attachment

pgsql-patches by date:

Previous
From: Claudio Natoli
Date:
Subject: int8 fix for win32
Next
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] notice about costly ri checks (3)