pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Phoenix Kiula <phoenix.kiula@gmail.com>
To: Andrew Sullivan <ajs@commandprompt.com>
To: pgsql-general@postgresql.org
Subject: Re: Dumping/Restoring with constraints?
Date: Fri, 29 Aug 2008 13:53:28 +0800
Message-ID: <e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.com> (raw)
In-Reply-To: <20080828174712.GB27283@commandprompt.com>
References: <e373d31e0808270619uba31c8eodc2c85662b85140a@mail.gmail.com>
	<48B5BC2A.5070104@wildenhain.de>
	<e373d31e0808271651l6c7b99f0q960aaa5247b96b67@mail.gmail.com>
	<20080828174712.GB27283@commandprompt.com>

On 8/29/08, Andrew Sullivan <ajs@commandprompt.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



view thread (36+ messages)  latest in thread

Message-ID: <e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.com>
Permalink:  ../e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.com/
Also on:    postgresql.org/message-id/e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: phoenix.kiula@gmail.com, ajs@commandprompt.com, pgsql-general@postgresql.org
  Subject: Re: Dumping/Restoring with constraints?
  In-Reply-To: <e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.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