pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Martin Moore <martin.moore@avbrief.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Changing locale/charset
Date: Tue, 23 Jan 2018 06:03:37 -0800
Message-ID: <cdb62e19-17e1-263a-1e0d-0486f7971130@aklaver.com> (raw)
In-Reply-To: <7A9AC752-FBA5-4A4D-B893-CE56A69F6941@avbrief.com>
References: <7A9AC752-FBA5-4A4D-B893-CE56A69F6941@avbrief.com>

On 01/22/2018 01:18 PM, Martin Moore wrote:
> I created a 10.1 cluster on Debian using UTF8.
> I’d like to convert it to LATIN1, but am having various issues. So, it’s probably easiest to start again (I have a dump of the DB).
> 
> To ensure I get it right, what is the correct way to create a cluster with LATIN1 encoding, how to remove the existing cluster and how to ensure I have the right settings for LOCALE etc. in the OS?

Assuming you are using the Debian pg_ctlcluster command see 'Changing 
Debian default installation' in below:

https://wiki.debian.org/PostgreSql

> 
> 
> Cheers.
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (3+ messages)

Message-ID: <cdb62e19-17e1-263a-1e0d-0486f7971130@aklaver.com>
Permalink:  ../cdb62e19-17e1-263a-1e0d-0486f7971130@aklaver.com/
Also on:    postgresql.org/message-id/cdb62e19-17e1-263a-1e0d-0486f7971130@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, martin.moore@avbrief.com
  Subject: Re: Changing locale/charset
  In-Reply-To: <cdb62e19-17e1-263a-1e0d-0486f7971130@aklaver.com>
  References: <7A9AC752-FBA5-4A4D-B893-CE56A69F6941@avbrief.com> <cdb62e19-17e1-263a-1e0d-0486f7971130@aklaver.com>

* 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