Re: Index not used - Mailing list pgsql-performance

From meike.talbach@women-at-work.org
Subject Re: Index not used
Date
Msg-id trinity-d77fd0af-d639-4976-91e2-2091df205856-1466330366743@3capp-gmx-bs09
Whole thread
In response to Re: Index not used  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-performance
> ​Or, better, persuade the app to label the value "
public.push_guid
​" since that is the column's type​...a type you haven't defined for us.  If you get to add explicit casts this should be easy...but I'm not familiar with the framework you are using.
 
 
push_guid was a CHARACTER(36) column. I ended up converting it to CHARACTER VARYING(36).
Index is now being used and performance is as expected.
 
Thanks a lot
Meike

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: 9.6 query slower than 9.5.3
Next
From: Jeff Janes
Date:
Subject: Re: Savepoint and Releasepoint in Logs