Install: Japanese support: what options to give to ./configure?

From: Jean-Christian Imbeault <totsubo2001(at)netscape(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Install: Japanese support: what options to give to ./configure?
Date: 2002-07-06 05:40:16
Message-ID: 3D2682C0.9010308@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi, I'm new to PostgreSQL. I just download the source and want to begin
compiling it. However I am not sure what options to give ./configure.
All of the data for the database will be in Japanese or ASCII.

I want to configure the data so that it can store japanese without
mangling and can also sort, and execute LIKE on japanese data properly.

Which options should I enable?

Here are some questions I have:

--enable-locale

I am confused as to wether I need --enable-locale or not. And if I do
need it my I don't want ./configure to use my environment vars to figure
which locale to use since the machine (Linux) is setup for english (C)
and not japanese.

--enable-multibyte=EUC-JP

Why is this necessary? What is the difference between this and
--enable-locale, or between ./initdb -E EUC_JP

./initdb -E EUC_JP

Is this necessary if I use --enable-multibyte=EUC_JP

In short do I need all three of these settings or just one or two?

Browse pgsql-admin by date

  From Date Subject
Next Message Preston de Guise 2002-07-06 07:41:35 Re: pg_dumpall -> database import -> user problem.
Previous Message Tim Ellis 2002-07-05 23:46:09 Re: Oracle data -> PostgreSQL