Re: PG 8.3.7 initdb -E LATIN1 fails on Windows

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Abraham, Danny" <danny_abraham(at)bmc(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG 8.3.7 initdb -E LATIN1 fails on Windows
Date: 2009-06-25 15:50:35
Message-ID: 20090625155035.GD26253@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2009-06-25 15:52:00 Re: Vacuum on the database versus individual tables.
Previous Message Chris Spotts 2009-06-25 15:40:34 planned recovery from a certain transaction