Re: plpgsql arrays - Mailing list pgsql-performance

From Matthew Wakeling
Subject Re: plpgsql arrays
Date
Msg-id alpine.DEB.2.00.0904031526080.21772@aragorn.flymine.org
Whole thread Raw
In response to Re: plpgsql arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: plpgsql arrays  (Matthew Wakeling <matthew@flymine.org>)
Re: plpgsql arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Fri, 3 Apr 2009, Tom Lane wrote:
> Not unless you have sorted the inputs in some way that has more
> knowledge than the "equal" operator represents.  Otherwise you can have
> elements drop out that might still be needed to match to a later
> left-hand element.

Of course. You certainly have to choose a sort order that works. Sorting
by the start field would be sufficient in this case.

Matthew

--
 For those of you who are into writing programs that are as obscure and
 complicated as possible, there are opportunities for... real fun here
                                        -- Computer Science Lecturer

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: plpgsql arrays
Next
From: Matthew Wakeling
Date:
Subject: Re: plpgsql arrays