Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UOq13-0007ZK-PU for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Apr 2013 13:52:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UOq13-0005xm-2N for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Apr 2013 13:52:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UOq12-0005xf-Ea for pgsql-bugs@postgresql.org; Sun, 07 Apr 2013 13:52:16 +0000 Received: from nm21-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.137]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UOq0w-0008UJ-0P for pgsql-bugs@postgresql.org; Sun, 07 Apr 2013 13:52:15 +0000 Received: from [98.139.212.153] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 07 Apr 2013 13:52:08 -0000 Received: from [98.139.212.246] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 07 Apr 2013 13:52:08 -0000 Received: from [127.0.0.1] by omp1055.mail.bf1.yahoo.com with NNFMP; 07 Apr 2013 13:52:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 227026.28661.bm@omp1055.mail.bf1.yahoo.com Received: (qmail 74962 invoked by uid 60001); 7 Apr 2013 13:52:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1365342728; bh=xcj4DH3tAofz28a9cE4D9d4Hu4CflpOYUzsA1sqChqU=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=upDkENWGuUgtGIRZC+UOd8ZEKxr5Pom+FJPFkdeCbUKdT6Xb0dhKYOFjRHYtz3RJJpQ5pCBwIpsR/3Nfy4ZYJ5kKd6y4DuVn7LfLOYuWYmDwunjGJJTYuUrESs5cFDQvqJhjD6GEgfnIIkwNd1BjBwtjrttv1nA6h1eRSUrQZb8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CGwdkdL9K5RObwjY0D93YR67WnXxx6NNUgoxfLzs2JgZGfm+2upsMyFWsX4r+yU0L1ciHrAa+MsjJApsrDT5sFlWqlymhzuSVqNp3jIY/K3SOlQK0mPQcvDSlyPmkWTmMVF7OncvxzQk1Whoz+ITOAnjbkPpN9fexZfTHyFxXxU=; X-YMail-OSG: W8D2BuIVM1n7iNq5JgCRFwBxLVqtcdofQKxRhvW8oQ3knsc V6DKfOaEv6LVXbFcAW1Hgo2D0I0QOYw9E9mfM4k.3w6haYHmqYn2.YE9FiSb 9B_D5g0SI90KtD3T0EZUmrXHLWpEuafvHJZ97IK5i0p7AO84w3hCU1SOqDni CiLWV3ljrA66BO7e5JEK.eStJVQC5tinUpAv4aYKIqfv39MfrqM7aAYCbMqt rVc1D6Kx7s4_187eAIonMIpQfAC9LdKn4tL6o6Al6vd28IKqkxc1ray5aFVs xr94jMlQvcqTAO5Pf712_gAtvKVsY8HfRHUys8OYZ2SXjlByH9WgScQ0Ohnw ipF3e1o0ZoodaQToobxM8Zi18eKzYfFNGB1w4nQQiHCAqlLBHZfxicR0ZN0q pR2dPg4de06kTNSk9A434PS.wlJBxLlrjWVyUeVZmvP3z8fnpqbSsdLsH8mF g1eIzXvYUdfCxHhcdIrOoH5n3EelP03EelzSfY8jbkcqayEI4aOSSu3g0ee4 cfMeznZiUooz_UAGjW54H076NqC9SfcY8fsYRdgX4XyxPouGhcCHZlvTHoG0 b.D.65gwmCdOUEaVNI1YDoBTzsRx2gOUhinR0Pu_7SFxFoM0IoBTy69LpoqS BaEyL7wMN2OFQ3PyGz4du.rM- Received: from [76.255.18.237] by web162902.mail.bf1.yahoo.com via HTTP; Sun, 07 Apr 2013 06:52:08 PDT X-Rocket-MIMEInfo: 002.001, RGF2aWQgSm9obnN0b24gPHBvbG9ib0B5YWhvby5jb20.IHdyb3RlOgoKPiB2YXJjaGFyKDEwMCkKCj4gVGhlIG90aGVyIG9wdGlvbiB0byBpbmRleCB3b3JkcyB2aWEgdGhlIGZ1bGwtdGV4dCBzZWFyY2ggY2FwYWJpbGl0aWVzLgoKT3IgZm9yIGNvbHVtbnMgdGhpcyBzaG9ydCzCoCBhIHNpbWlsYXJpdHkgc2VhcmNoIG9uIGEgdHJpZ3JhbSBpbmRleC4KCmh0dHA6Ly93d3cucG9zdGdyZXNxbC5vcmcvZG9jcy9jdXJyZW50L2ludGVyYWN0aXZlL3BndHJnbS5odG1sCgotLQpLZXZpbiBHcml0dG5lcgpFbnRlcnABMAEBAQE- X-Mailer: YahooMailWebService/0.8.140.532 References: <1365297561976-5751095.post@n5.nabble.com> Message-ID: <1365342728.67050.YahooMailNeo@web162902.mail.bf1.yahoo.com> Date: Sun, 7 Apr 2013 06:52:08 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Re: 9.2.4: Strange behavior when wildcard is on left side of search string To: David Johnston , "pgsql-bugs@postgresql.org" In-Reply-To: <1365297561976-5751095.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org David Johnston wrote: > varchar(100) > The other option to index words via the full-text search capabilities. Or for columns this short,=A0 a similarity search on a trigram index. http://www.postgresql.org/docs/current/interactive/pgtrgm.html -- Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs