Re: function indexes, index only scan and sorting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jonathan Vanasco <postgres(at)2xlp(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: function indexes, index only scan and sorting
Date: 2014-12-12 22:56:36
Message-ID: 11176.1418424996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jonathan Vanasco <postgres(at)2xlp(dot)com> writes:
> Thank you so much for posting this test.

> I got a seq scan on my local machine, so I checked the version... still running 9.2.4.
> I tried it on production (which is 9.3.x) and got the same result as you.

Hmm, well, I get the same result from 9.2.9, as well as every branch back
to 8.4 (too lazy to check further back). Perhaps your 9.2.4 installation
is using non-default cost parameters that discourage the planner from
choosing this plan?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guyren Howe 2014-12-13 07:41:41 Re: [GENERAL] I did some testing of GIST/GIN vs BTree indexing…
Previous Message Jonathan Vanasco 2014-12-12 22:22:04 Re: function indexes, index only scan and sorting