Re: psql & UTF8

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql & UTF8
Date: 2005-12-09 16:32:30
Message-ID: 20051209163230.GE20352@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 09, 2005 at 01:39:50PM +0300, Teodor Sigaev wrote:
> Working on UTF support in tsearch2 I noticed different output of psql:

<snip>

>
> Length of '--------' string is different. This difference is a reason for
> installcheck failture of tsearch2 on UTF8 inited db.
>
> Is it supposed behaviour of psql?

Well, the fact that there's a difference is odd, though I imagine it
has something to do with the client_encoding setting.

There is a patch in the queue to handle multiline strings better which
should remove the difference...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

  • psql & UTF8 at 2005-12-09 10:39:50 from Teodor Sigaev

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-12-09 16:32:48 Re: Warm-cache prefetching
Previous Message Simon Riggs 2005-12-09 16:20:11 Re: Warm-cache prefetching