Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aO1S9-0003w2-RY for pgsql-general@arkaria.postgresql.org; Tue, 26 Jan 2016 11:06:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aO1S9-000866-5h for pgsql-general@arkaria.postgresql.org; Tue, 26 Jan 2016 11:06:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aO1S3-000814-C6 for pgsql-general@postgresql.org; Tue, 26 Jan 2016 11:06:23 +0000 Received: from nm30-vm5.bullet.mail.ne1.yahoo.com ([98.138.91.252]) by magus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aO1Rv-0003UC-Qa for pgsql-general@postgresql.org; Tue, 26 Jan 2016 11:06:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1453806373; bh=B7byLMMxsEIaPDbd6rX4YyojrP/p10fC7Qjp/7+4fdQ=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=gFQ58EnO/1aUCNKpgWWJxAwAigNk9GOkV7rqGxTMsPoqAZamydFHQ4NRMEYQQwVFFknrtuLC2UkLGODctw+7A7TuVQTmU4WEVNOR865igp245scmN0TPYvF5S28yOkw2RZ/evkY4HvaFqPxGklncH0/SYdU416Mr/SNaPwoNomMrTjugPYdwf73eQZZuJ9kW+K0X0P5sXbUtgNn4lbNlcalrdWzKW98ehCjMT/d2qYWnrSbNr+8wMeg8UPJys8nYACq4RqnpkXhVfNY60PQn74Qke8uy/f7WSma1u5yRk93NG1ySIM509kxNqb2AjSH4uQitKv3BUp02DUjPxlj4iQ== Received: from [98.138.100.116] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 26 Jan 2016 11:06:13 -0000 Received: from [98.138.89.193] by tm107.bullet.mail.ne1.yahoo.com with NNFMP; 26 Jan 2016 11:06:13 -0000 Received: from [127.0.0.1] by omp1051.mail.ne1.yahoo.com with NNFMP; 26 Jan 2016 11:06:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 188650.42445.bm@omp1051.mail.ne1.yahoo.com X-YMail-OSG: q_7fLy4VM1n2VE8P0M1i7AeisJMPZR8495KiYI1ZB6ApX2JvWEhYGEefyYmgVWK E.L7RE7NvN0Lttr4dIor_pPfW1WZso_hSNWWyWM1GLjeMrTk9d22dZIcv09BvFt.QjQtLhf4YYvn XI1pJzZK9ZbrIwKllwHq5tQ_xOiAqazJJWEnzXFb.TVWwJN.JE9HEhE_BafYduyW.s7MyLIPzd9b 2m69saW6HDN9.meERuSzVfN4sSvjbbeSRcbEYHwWfy1bWfEVTgLKXDPGaEdsIKBlGvz3SCMqkMF0 aM2XSS7tcgeglWcpXFrVkpAV9uYeJIR0XDVuGGttAyF1x7k4OcGe1NCpR46U7b8uWVSaN9x6SItr LMcPrLghdntuHq6RqE_9eOmzqiMnGywwiu3PBXTu7VJPthNljtY4bMDMoJ5B8b3ZFVE_3r..yebK f_I5pHul5Yj5zJMHMdJ.0po3ET7UdUXpob0OUKhn69ew7rV1_VaAbqXcL8J7Our3CizGSABrFz5s pPgulCjtUEg-- Received: by 98.138.105.196; Tue, 26 Jan 2016 11:06:12 +0000 Date: Tue, 26 Jan 2016 11:06:12 +0000 (UTC) From: Max Reply-To: Max To: "pgsql-general@postgresql.org" Message-ID: <1461523717.1243810.1453806372489.JavaMail.yahoo@mail.yahoo.com> Subject: Case and accent insensitive MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1243809_129193546.1453806372487" References: <1461523717.1243810.1453806372489.JavaMail.yahoo.ref@mail.yahoo.com> Content-Length: 2075 X-Pg-Spam-Score: -2.7 (--) 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 ------=_Part_1243809_129193546.1453806372487 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is there a collation for case and accent insensitive filter? I just found t= he use of operators like ILIKE ou CITEXT module but I can't use ILIKE in th= e queries and the CITEXT is a field-by-field solution for the case insensit= ive part of the problem. I also found the=C2=A0unaccent text search diction= ary that could help with the accent part. In the MySQL world we have the database level collation=C2=A0latin1_swedish= _ci where 'maca' =3D 'Ma=C3=A7=C3=A3' is true and no field level configurat= ion is required. This database is hosted in Amazon Cloud so I'm also limited by what I can d= o in this environment. ------=_Part_1243809_129193546.1453806372487 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Is there a collation for case and accent insensitive filter? I jus= t found the use of operators like ILIKE ou CITEXT module but I can't use IL= IKE in the queries and the CITEXT is a field-by-field solution for the case= insensitive part of the problem. I also found the unaccent text searc= h dictionary that could help with the accent part.

In the MySQL world we have the database level c= ollation latin1_swedish_ci where 'maca' =3D 'Ma=C3=A7=C3=A3' is true a= nd no field level configuration is required.

This database is hosted in Amazon Cloud so I'm also l= imited by what I can do in this environment.
------=_Part_1243809_129193546.1453806372487--