Changing Character Sets

From: Tim Gustafson <tjg(at)ucsc(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Changing Character Sets
Date: 2013-02-12 16:34:10
Message-ID: CAPyBAS7XtPez2kwvrcFeXypw_Lvy94ZJvtovMrdpfBPd91h=Lg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there any way to change the character set of a database and its tables?

I did a pg_dumpall to upgrade from Postgres 8.4 to Postgres 9.2, and
all the tables came back as UTF-8, and now Bacula is complaining that
it wants SQL_ASCII encoding for everything. I don't see a flag on
pg_dumpall or pg_restore to set which character encoding I'd like, and
Google has failed me.

--

Tim Gustafson
tjg(at)ucsc(dot)edu
831-459-5354
Baskin Engineering, Room 313A

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2013-02-12 17:00:41 Re: Changing Character Sets
Previous Message Gauthier, Dave 2013-02-12 15:54:12 Re: PG V9 on NFS