pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Hallgren <thomas@tada.se>
To: pgsql-admin@postgresql.org
Subject: LATIN1 on windows
Date: Sun, 30 May 2010 18:35:39 +0200
Message-ID: <4C0293DB.4090709@tada.se> (raw)

Hi,

I'm writing an instruction on how to install a PostgreSQL service on 
windows. I want to keep it as simple as possible and would therefor very 
much like to rely on the pre-packaged installer. For various reasons the 
install has to be Swedish LATIN1 and I have concluded that this can be 
achieved by using locale Swedish_Sweden.28591 (or sv_SE.28591). Unless 
I'm missing something, the windows installer doesn't allow that to be 
specified.

So what is the simplest way to do this? I've tried this:

- Install using the windows installer.
- Stop the service
- Wipe the data folder
- Do an initdb --locale=sv_SE.28591 -U postgres
- Start the service again

Is there an easier way? Is there an easy way to make a custom installer?

Kind Regards,
Thomas Hallgren





Message-ID: <4C0293DB.4090709@tada.se>
Permalink:  ../4C0293DB.4090709@tada.se/
Also on:    postgresql.org/message-id/4C0293DB.4090709@tada.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: thomas@tada.se
  Subject: Re: LATIN1 on windows
  In-Reply-To: <4C0293DB.4090709@tada.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox