Re: initdb --encoding=LATIN1 fails on Windows - Mailing list pgsql-admin

From Jan-Peter Seifert
Subject Re: initdb --encoding=LATIN1 fails on Windows
Date
Msg-id 4A5F889F.70805@gmx.de
Whole thread Raw
In response to initdb --encoding=LATIN1 fails on Windows  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-admin
Abraham, Danny wrote:

> The same command worked fine on PG 8.2.4.
> Now, using 8.3.7,  we are forced into WIN1252.

In 8.2 on Windows code page 28591 has been used. If you use this as
locale initdb should give you LATIN1.

Something like this should work for you as well:
initdb --locale=German_Germany.28591 -W -A md5 -D
"C:\Programme\PostgreSQL\8.3\data"

Good luck,

Peter

pgsql-admin by date:

Previous
From: Joshua Daniel Franklin
Date:
Subject: how to REINDEX pg_database on
Next
From: Kevin Kempter
Date:
Subject: convert an Insert Into... select from... to use COPY ?