client side syntax error localisation for psql (v1) - Mailing list pgsql-hackers

From Fabien COELHO
Subject client side syntax error localisation for psql (v1)
Date
Msg-id Pine.LNX.4.58.0403111614300.12205@sablons.cri.ensmp.fr
Whole thread Raw
Responses Re: client side syntax error localisation for psql (v1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Re: client side syntax error localisation for psql (v1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: client side syntax error localisation for psql (v1)  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Dear patchers,

Please find attached my first attempt at providing a localisation
information on the client side for syntax errors in "psql". Basically, one
function is added which takes care of the burden. I put a lot of
comments in the function to try make it clear what is going on.

It validates for me against current cvs head.

I've also added new regression tests in "errors.sql".

Although I have taken great and painful care to deal with multi-byte
encodings, I'm not sure how I can validate that, as I don't have some
japanese terminal to play with.

Have a nice day,

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

pgsql-hackers by date:

Previous
From: Dennis Bjorklund
Date:
Subject: Re: unsafe floats
Next
From: Tom Lane
Date:
Subject: Re: How to get RelationName ??