Re: help from Portugal - Mailing list pgsql-admin

From Tom Lane
Subject Re: help from Portugal
Date
Msg-id 3518.1067553113@sss.pgh.pa.us
Whole thread Raw
In response to help from Portugal  (Pedro Miguel Guedes <pmg01@netc.pt>)
List pgsql-admin
Pedro Miguel Guedes <pmg01@netc.pt> writes:
> On the old system I did the query:
> SELECT * FROM contactos WHERE empresa_nome ILIKE �%nestl�%�;
> and it did work
> O the new system it does not produce nothing!???

I think you have the wrong locale setting in your new database.  The
database locale (at least LC_COLLATE and LC_CTYPE) is frozen at initdb
time.  It seems likely that you initdb'd with the wrong settings.
(pg_controldata can help you check this for sure.)

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Shared memory corrupted?
Next
From: "Chris White (cjwhite)"
Date:
Subject: Another database recovery problem