From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: pgsql-admin@postgresql.org
Subject: Re: restored database locale problem
Date: Wed, 28 Dec 2005 16:07:30 +0000
Message-ID: <200512281607.30488.gary.stainburn@ringways.co.uk> (raw)
In-Reply-To: <17461.1135785483@sss.pgh.pa.us>
References: <200512281453.01568.gary.stainburn@ringways.co.uk>
<17461.1135785483@sss.pgh.pa.us>
On Wednesday 28 December 2005 15:58, Tom Lane wrote:
> Gary Stainburn <gary.stainburn@ringways.co.uk> writes:
> > ERROR: invalid multibyte character for locale
> > HINT: The server's LC_CTYPE locale is probably incompatible with the
> > database encoding.
>
> The HINT seems straightforward enough to me ;-). What do "show
> lc_ctype" and "show server_encoding" say?
>
> regards, tom lane
goole=# show lc_ctype;
lc_ctype
-------------
en_US.UTF-8
(1 row)
goole=# show server_encoding;
server_encoding
-----------------
UNICODE
(1 row)
goole=#
The documentation I read all related to installing and configuring the server.
This has arisen from reading back into an existing server config a pg_dump
that was taken from the same server.
Gary
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gary.stainburn@ringways.co.uk
Subject: Re: restored database locale problem
In-Reply-To: <200512281607.30488.gary.stainburn@ringways.co.uk>
References: <200512281453.01568.gary.stainburn@ringways.co.uk> <17461.1135785483@sss.pgh.pa.us> <200512281607.30488.gary.stainburn@ringways.co.uk>
* 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