Re: Converting an ASCII database to an UTF-8 database

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: kishore(dot)sainath(at)gmail(dot)com
Subject: Re: Converting an ASCII database to an UTF-8 database
Date: 2006-02-17 21:38:35
Message-ID: 200602172238.36654.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

kishore(dot)sainath(at)gmail(dot)com wrote:
> How do I convert a database in the ASCII format into one of the UTF-8
> format?

ASCII is a subset of UTF-8, so you don't need to do anything. Just
change the encoding entry in the pg_database table. Of course, using
pg_dump would be the official way to convert a database between any two
encodings.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Account 2006-02-17 21:44:04 Installing on NT4 machine
Previous Message Robert Treat 2006-02-17 21:31:08 Re: return setof and Temp tables