pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Andrew Sullivan <ajs@commandprompt.com>
To: pgsql-general@postgresql.org
Subject: Re: Dumping/Restoring with constraints?
Date: Fri, 29 Aug 2008 11:18:02 -0400
Message-ID: <20080829151802.GF29678@commandprompt.com> (raw)
In-Reply-To: <e373d31e0808290812j796855e5lf3b92eeb1fde8c5f@mail.gmail.com>
References: <e373d31e0808270619uba31c8eodc2c85662b85140a@mail.gmail.com>
<48B5BC2A.5070104@wildenhain.de>
<e373d31e0808271651l6c7b99f0q960aaa5247b96b67@mail.gmail.com>
<20080828174712.GB27283@commandprompt.com>
<e373d31e0808282253o13844c76odcd6f118fef4ff2e@mail.gmail.com>
<20080829133436.GG29463@commandprompt.com>
<e373d31e0808290726x3109ef36s9234247a33a6e303@mail.gmail.com>
<20080829144924.GD29678@commandprompt.com>
<e373d31e0808290812j796855e5lf3b92eeb1fde8c5f@mail.gmail.com>
On Fri, Aug 29, 2008 at 11:12:35PM +0800, Phoenix Kiula wrote:
>
> How should I check for the locale?
As the user that you issue the pg_dump with on the machine you
generated it, and as the user you're trying to use to restore the
data, at the command line type
$ locale
You end up with something like this:
stovepipe:~ ajs$ locale
LANG="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_CTYPE="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_ALL=
I can't remember whether the client encoding is going to be affected
by this during dump and restore, and whether in these versions that is
captured in the dump file.
A
--
Andrew Sullivan
ajs@commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/
view thread (36+ messages) latest in thread
Message-ID: <20080829151802.GF29678@commandprompt.com> Permalink: ../20080829151802.GF29678@commandprompt.com/ Also on: postgresql.org/message-id/20080829151802.GF29678@commandprompt.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: ajs@commandprompt.com, pgsql-general@postgresql.org Subject: Re: Dumping/Restoring with constraints? In-Reply-To: <20080829151802.GF29678@commandprompt.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