create db with -E

From: Kathy Zhu <Kathy(dot)Zhu(at)Sun(dot)COM>
To: pgsql-general(at)postgresql(dot)org
Subject: create db with -E
Date: 2003-05-12 22:02:20
Message-ID: 200305122202.h4CM2KN10451@amon.Central.Sun.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-05-12 22:19:18 Re: ctrl+C
Previous Message Kathy Zhu 2003-05-12 21:56:57 ctrl+C