Re: create db with -E

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: create db with -E
Дата
Msg-id 1053099223.26148.13.camel@coppola.ecircle.de
обсуждение исходный текст
Ответ на Re: create db with -E  (Kathy Zhu <Kathy.Zhu@Sun.COM>)
Список pgsql-general
On my system (redhat linux) that's:
echo $LANG
i.e. the LANG environment variable is used by all well behaved programs
to set their character encoding.

HTH,
Csaba.

On Fri, 2003-05-16 at 16:57, Kathy Zhu wrote:
> When I do, I got a list back. I wonder how to get the property name whose value
> is "en_US.UTF-8" ?? That's the value I want to get to pass to -E.
> Thanks,
> kathy
>
> #lang -a
> POSIX
> common
> en_US.UTF-8
> C
> iso_8859_1
>
>
>
> > X-Unix-From: peter_e@gmx.net  Tue May 13 03:25:23 2003
> > Date: Tue, 13 May 2003 11:27:23 +0200 (CEST)
> > From: Peter Eisentraut <peter_e@gmx.net>
> > X-X-Sender: peter@peter.localdomain
> > To: Kathy Zhu <Kathy.Zhu@sun.com>
> > cc: pgsql-general@postgresql.org
> > Subject: Re: [GENERAL] create db with -E
> >
> > Kathy Zhu writes:
> >
> > > how do dynamically (in script) figure out which encoding to use ("-E xxx")
> > > depending on the OS.
> >
> > locale -k charmap
> >
> > --
> > Peter Eisentraut   peter_e@gmx.net
> >
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>



В списке pgsql-general по дате отправления:

Предыдущее
От: Kathy Zhu
Дата:
Сообщение: Re: create db with -E
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: migrating from Oracle to PostgreSQL