Re: create db with -E

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: create db with -E
Date: 2003-05-12 22:31:25
Message-ID: 20030513003125.N564@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Palmer 2003-05-12 22:35:26 Re: Unicode confusion
Previous Message Devrim GUNDUZ 2003-05-12 22:26:30 .NET and PostgreSQL