pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: Hannu Krosing <hannu@trust.ee>
Cc: phd2@earthling.net, Thomas Lockhart <lockhart@alumni.caltech.edu>
Cc: 'Oleg Bartunov' <oleg@sai.msu.su>
Cc: 'hackers@postgresql.org' <hackers@postgreSQL.org>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>
Subject: Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem
Date: Mon, 14 Jun 1999 23:07:15 +0900
Message-ID: <199906141407.XAA00882@ext16.sra.co.jp> (raw)
In-Reply-To: <3762A415.BC415D4C@trust.ee>

> Well, the problem is that while I do occasionally need cyrillic chars, 
> I also need English, Estonian, Finnish/Swedish, Latvian and Lithuanian.

Probably this is the first example ever appeared on this list for the
demand of i18n database, that should be the future direction of
PostgreSQL, in my opinion.

Currently MB has two encodings for this kind of purpose: Unicode and
mule-internal-code. Both of them allows mixed languages even in the
same column. This might give you a partial solution.

> The only two of them that don't have overlapping character codes are
> Russian (all chars >127) and English (all < 128)
> 
> My current solution is to run without --enable-locale and do all the
> sorting
> in the client. But it would be often useful to have language specific
> columns.

This is another reason why we cannot rely on the locale mechanism
supported by os. Basically locale is a global data for the entire
process. If each column has different language, we have to switch
locales. That would be inefficient and painful.
---
Tatsuo Ishii



view thread (41+ messages)  latest in thread

Message-ID: <199906141407.XAA00882@ext16.sra.co.jp>
Permalink:  ../199906141407.XAA00882@ext16.sra.co.jp/
Also on:    postgresql.org/message-id/199906141407.XAA00882@ext16.sra.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: t-ishii@sra.co.jp, hannu@trust.ee, lockhart@alumni.caltech.edu, oleg@sai.msu.su, hackers@postgreSQL.org
  Subject: Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem
  In-Reply-To: <199906141407.XAA00882@ext16.sra.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox