X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 13303D1B500 for ; Thu, 30 Oct 2003 22:32:27 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 51595-06 for ; Thu, 30 Oct 2003 18:31:58 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 89709D1B4E4 for ; Thu, 30 Oct 2003 18:31:55 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9UMVrit003519; Thu, 30 Oct 2003 17:31:53 -0500 (EST) To: Pedro Guedes Cc: pgsql-admin@postgresql.org Subject: Re: help from Portugal In-reply-to: <001301c39ec1$e7c6ad60$1405a8c0@isla.pt> References: <001301c39ec1$e7c6ad60$1405a8c0@isla.pt> Comments: In-reply-to Pedro Miguel Guedes message dated "Thu, 30 Oct 2003 08:40:01 +0000" Date: Thu, 30 Oct 2003 17:31:53 -0500 Message-ID: <3518.1067553113@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/379 X-Sequence-Number: 10940 Pedro Miguel Guedes 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