Re: [GENERAL] Change postgresql encoding

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Oliver <ofabelo(at)gmail(dot)com>, Forums postgresql <pgsql-general(at)postgresql(dot)org>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [GENERAL] Change postgresql encoding
Date: 2015-02-08 20:44:52
Message-ID: 54D7CAC4.2010509@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On 02/08/2015 11:20 AM, Oliver wrote:
> Hi,
> I have a new postgresql installation done, it has utf-8 encoding.
> I have to make a Oracle database migration and it has ISO8859-15
> encoding, should I change postgresql encoding to same Oracle encoding or
> with utf-8 it should go well?
> If I want change postgresql encoding, I have understood that I should
> reinstall postgresql (I do installation from rpm official binary files
> for red hat), someone knows say me if when you install software it asks
> you for choosing encoding or it puts it from what you have in the
> system? (I did installation from many time ago and I don't remember it).
> Thanks beforehand.

What version of Postgres?

What version of RedHat?
>
> P.D.: I've tried change encoding to a new postgresql database to latin9,
> but it gives me error for having utf-8.

What was the command you gave?

What was the exact error message?

>
> Regards...

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message BladeOfLight16 2015-02-08 20:50:16 Re: Change postgresql encoding
Previous Message Oliver 2015-02-08 19:20:10 Change postgresql encoding

Browse pgsql-general by date

  From Date Subject
Next Message BladeOfLight16 2015-02-08 20:50:16 Re: Change postgresql encoding
Previous Message Josh Berkus 2015-02-08 19:51:39 Re: PgConf Russia event