Re: Dumping/Restoring with constraints?

From: "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com>
To: "Andrew Sullivan" <ajs(at)commandprompt(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Dumping/Restoring with constraints?
Date: 2008-08-29 05:53:28
Message-ID: e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On 8/29/08, Andrew Sullivan <ajs(at)commandprompt(dot)com> wrote:
>
> The latter should be in effect if your database encoding is UTF-8.
> What's the database encoding?

My database encoding on BOTH the sides is UTF8. The dumped DB is UTF8.
The one I am importing into is also UTF8. So why is it showing me this
error? Do I also have to look at stuff like "collation"?

Also, how can I ensure that my dumped database on the server has only
UTF8 data? What constraint or function can I use?

Thanks

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vishal Arora 2008-08-29 10:12:53 Re: psql data restore not working
Previous Message Daniel Punton 2008-08-29 00:26:44 psql data restore not working

Browse pgsql-general by date

  From Date Subject
Next Message Giorgio Valoti 2008-08-29 06:39:54 [Semi-OT]: How to customize locales?
Previous Message Tom Lane 2008-08-29 04:45:20 Re: MySQL LAST_INSERT_ID() to Postgres