pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: pgsql-admin@postgresql.org
Subject: restored database locale problem
Date: Wed, 28 Dec 2005 14:53:01 +0000
Message-ID: <200512281453.01568.gary.stainburn@ringways.co.uk> (raw)

Hi folks.

I've just FUBAR'd one of my databases so I dropped it and and then recreated 
it from a pg_dump taken at 1am today.

Everything went fine with no errors or warning while recreating everything, 
but now one of my selects doesn't work.  A quick google and scan of the 
postgresql hasn't helped. My other databases within the same server are all 
working fine.

Gary

goole=# select r_id as key, * from new_request_details where 
(upper(r_registration) like upper('%D55D4473%') or  upper(r_chassis) like 
upper('%D55D4473%') or  upper(r_pack_mats) like upper('%D55D4473%') or  
upper(c_des) like upper('%D55D4473%') ) order by r_delivery,  r_delivery, 
r_created
goole-# ;
ERROR:  invalid multibyte character for locale
HINT:  The server's LC_CTYPE locale is probably incompatible with the database 
encoding.
goole=#          
-- 
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     



view thread (5+ messages)  latest in thread

Message-ID: <200512281453.01568.gary.stainburn@ringways.co.uk>
Permalink:  ../200512281453.01568.gary.stainburn@ringways.co.uk/
Also on:    postgresql.org/message-id/200512281453.01568.gary.stainburn@ringways.co.uk

 · 

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 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: <200512281453.01568.gary.stainburn@ringways.co.uk>
  References: <200512281453.01568.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