Re: create db with -E - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: create db with -E
Date
Msg-id 20030513003125.N564@hermes.hilbert.loc
Whole thread Raw
In response to create db with -E  (Kathy Zhu <Kathy.Zhu@Sun.COM>)
List pgsql-general
Kathy,

> how do dynamically (in script) figure out which encoding to use ("-E xxx")
> depending on the OS.
>
> (on Japanese OS)
> create db -E EUC_JP japandb
>
> (on US OS)
> create db -E SQL_ASCII usdb

echo $LANG
echo $LC_*
echo $LOCALE
echo $LANGUAGE

man locale

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


pgsql-general by date:

Previous
From: "Chris Palmer"
Date:
Subject: Re: Unicode confusion
Next
From: "scott.marlowe"
Date:
Subject: Re: .NET and PostgreSQL