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 576ACD1B545 for ; Thu, 30 Oct 2003 06:29:35 +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 94459-02 for ; Thu, 30 Oct 2003 02:29:05 -0400 (AST) Received: from mcmmta3.mediacapital.pt (unknown [193.126.240.148]) by svr1.postgresql.org (Postfix) with ESMTP id 62B8AD1B53A for ; Thu, 30 Oct 2003 02:29:04 -0400 (AST) Received: from gotlib (d172240.csc.net.KPNQwest.pt [193.126.172.240]) by mcmmta3.mediacapital.pt (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with SMTP id <0HNK00FO44BNKZ@mcmmta3.mediacapital.pt> for pgsql-admin@postgresql.org; Thu, 30 Oct 2003 06:21:25 +0000 (GMT) Date: Thu, 30 Oct 2003 08:40:01 +0000 From: Pedro Miguel Guedes Subject: help from Portugal To: pgsql-admin@postgresql.org Reply-To: Pedro Guedes Message-id: <001301c39ec1$e7c6ad60$1405a8c0@isla.pt> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-Priority: 3 X-MSMail-priority: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=BAYES_30, FROM_ENDS_IN_NUMS, MAILTO_TO_SPAM_ADDR X-Spam-Level: X-Archive-Number: 200310/375 X-Sequence-Number: 10936 I have a crazy problem here. Nobody seems to known why. I am not a database expert nor do known much about Postgres. I am just a system administrator trying to move a database from one system to another. O the old system (slackware linux) the postgres was downloaded an compiled from source. O the new system (Red Hat 9.0) the postgres was installed from rpm precompiled binaries. Everything seemed ok. I pg_dump from the original. I createdb anf pg_restore on the destination. 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!??? if I do SELECT * FROM contactos WHERE empresa_nome ILIKE ´%NESTLÈ%´; it works! For queried material where accent on letters does not matter like NISA/nisa there are no problems with the query. The problem seems to be on accent on letters. So I thought maybe some stuff on charsets/encoding and I tried all the advices on the html/docs changing database and client encodings to LATIN1 (it was SQL_ASCII) to no help. Environ var like LANG and LC_ALL equal "pt_PT" on /etc/init.d/postgres. The guys who did the programming on the dadbase do not known any clues. Me, has I said, I am not expert and I a bit lost not knowing what to do next. Do you have any ideas? Thanks for any help Pedro Guedes PORTUGAL pmg01@netc.pt