create db with -E - Mailing list pgsql-general

From Kathy Zhu
Subject create db with -E
Date
Msg-id 200305122202.h4CM2KN10451@amon.Central.Sun.COM
Whole thread Raw
Responses Re: create db with -E
Re: create db with -E
List pgsql-general
Hi,

how do dynamically (in script) figure out which encoding to use ("-E xxx")
depending on the OS.

for example:

(on Japanese OS)
create db -E EUC_JP japandb

(on US OS)
create db -E SQL_ASCII usdb


thanks,
kathy


pgsql-general by date:

Previous
From: Kathy Zhu
Date:
Subject: ctrl+C
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: ctrl+C