Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Worthwhile optimisation of position()?


  • From: "Jim C. 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: Fri, 24 Mar 2006 04:01:45 -0600
  • Message-id: <20060324100145(dot)GM90527(at)pervasive(dot)com>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group