Re: Worthwhile optimisation of position()?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tim Allen <tim(at)proximity(dot)com(dot)au>, Thomas Hallgren <thomas(at)tada(dot)se>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Worthwhile optimisation of position()?
Date: 2006-03-24 10:01:45
Message-ID: 20060324100145.GM90527@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 24, 2006 at 02:58:54PM +0800, Christopher Kings-Lynne wrote:
> >Yeah. AFAICS the transformation Chris suggested is valid. I'm really
> >dubious that it's worth expending planner cycles to look for it though.
> >LIKE is something that everybody and his brother uses, but who uses this
> >position()=0 locution?
>
> One of our junior developers :) Which is why I noticed it.

Sounds like time to bust out the cluebat. :)
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2006-03-24 10:51:30 Shared memory
Previous Message Jim C. Nasby 2006-03-24 09:58:52 Re: Did this work in earlier version of Postgres?