Re: PG 8.3.7 initdb -E LATIN1 fails on Windows - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: PG 8.3.7 initdb -E LATIN1 fails on Windows
Date
Msg-id 20090625155035.GD26253@alvh.no-ip.org
Whole thread Raw
In response to PG 8.3.7 initdb -E LATIN1 fails on Windows  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-general
Abraham, Danny wrote:
> Hi,
>
> Runnning:  initdb -E LATIN1 -D .....
>
> Error: encoding mismatch

Right.  Try using Win1252 instead of Latin1:

initdb -E win1252 ...

Or just leave -E out entirely, since it will be picked up by default
from the locale setting anyway.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: "Chris Spotts"
Date:
Subject: planned recovery from a certain transaction
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Vacuum on the database versus individual tables.