From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pedro Guedes <pmg01@netc.pt>
Cc: pgsql-admin@postgresql.org
Subject: Re: help from Portugal
Date: Thu, 30 Oct 2003 17:31:53 -0500
Message-ID: <3518.1067553113@sss.pgh.pa.us> (raw)
In-Reply-To: <001301c39ec1$e7c6ad60$1405a8c0@isla.pt>
References: <001301c39ec1$e7c6ad60$1405a8c0@isla.pt>
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
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: tgl@sss.pgh.pa.us, pmg01@netc.pt
Subject: Re: help from Portugal
In-Reply-To: <3518.1067553113@sss.pgh.pa.us>
References: <001301c39ec1$e7c6ad60$1405a8c0@isla.pt> <3518.1067553113@sss.pgh.pa.us>
* 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