Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKEy8-0001t7-AD for pgsql-general@arkaria.postgresql.org; Thu, 12 Sep 2013 22:02:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VKEy7-0003sN-Fs for pgsql-general@arkaria.postgresql.org; Thu, 12 Sep 2013 22:02:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKEy6-0003sC-3t for pgsql-general@postgresql.org; Thu, 12 Sep 2013 22:02:30 +0000 Received: from tempest.mainecoon.com ([69.12.217.123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKExy-0000m2-Bz for pgsql-general@postgresql.org; Thu, 12 Sep 2013 22:02:29 +0000 Received: from [10.1.1.2] (fw.boscorama.com [75.101.8.88]) by tempest.mainecoon.com (Postfix) with ESMTPSA id B325C1D3C685 for ; Thu, 12 Sep 2013 15:02:19 -0700 (PDT) Message-ID: <523239EB.9010102@boscorama.com> Date: Thu, 12 Sep 2013 15:02:19 -0700 From: Bosco Rama User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: pgsql Subject: Re: problem with query References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 09/12/13 14:49, Chris Curvey wrote: > Is this just a case-sentitvity issue? if personas.apellido is a varchar > field, then I think that's your trouble. (it would have to be citext in > order for "nunez" = "NUNEZ".) He's using 'ilike' in his query, so this is more likely to be a locale/charset/collation/encoding issue. Roberto, what encodings are in use by the client and the server/DB? HTH, Bosco. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general