Re: [GENERAL] Text,Citext column and Btree index

2016-09-01 Thread Vik Fearing
On 09/01/2016 09:34 AM, Viswanath wrote: > Hi, > Why is a citext column not using Btree index for like operation even without > any wildcard character? Because it doesn't know how. > It can use Btree index if there is no wildcard character and if it is at the > end right? No; use pg_trgm for th

[GENERAL] Text,Citext column and Btree index

2016-09-01 Thread Viswanath
Hi, Why is a citext column not using Btree index for like operation even without any wildcard character? It can use Btree index if there is no wildcard character and if it is at the end right? Also a text column is using index when there is no wildcard character,but it is also not using if it is pr