Re: client side syntax error localisation for psql (v1)

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: coelho(at)cri(dot)ensmp(dot)fr
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: client side syntax error localisation for psql (v1)
Date: 2004-03-12 15:20:05
Message-ID: 20040313.002005.21590767.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Could you take a look at included screen shot?
>
> I haven't found it. However I've made a little bit of trying with my

Oops. I have included this time.

> > > Maybe you could point me some source of information about display lengths
> > > of characters depending on the encoding?
> >
> > I could write "PQmbtermlen" function for every encoding supported by
> > PostgreSQL
>
> That would be great ! ;-)

Ok, I will work on this.

> > except UTF-8. Such kind of info for UTF-8 might be quite
> > complex. I believe there are some mapping tables or functions to get
> > such kind of info somewhere on the Internet, but I don't remember.
>
> That would be even greater;-)
>
> I guess a "return 1" version would be a false quick fix that could
> be improved later on...

Agreeed.

Attachment Content-Type Size
image/png 2.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2004-03-12 15:32:24 Re: client side syntax error localisation for psql (v1)
Previous Message Tom Lane 2004-03-12 15:14:25 Re: [HACKERS] The Name Game: postgresql.net vs. pgfoundry.org