Re: Array: comparing first N elements? - Mailing list pgsql-sql

From David Garamond
Subject Re: Array: comparing first N elements?
Date
Msg-id 7c33d060905120142t75d1c887jfe62f21361eac178@mail.gmail.com
Whole thread Raw
In response to Array: comparing first N elements?  (David Garamond <davidgaramond@gmail.com>)
List pgsql-sql
2009/5/12 Achilleas Mantzios <achill@matrix.gatewaynet.com>
you would want to look at the intarray contrib package for index suppor and many other goodies,
also you might want to write fucntions first(parents), last(parents) and then have an index
on those as well.
This way searching for the direct children of a node is very fast.

Thanks for the suggestions! Index support is exactly what I'm looking for. Will look into intarray.

Regards,
dave 

pgsql-sql by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Array: comparing first N elements?
Next
From: Glenn Maynard
Date:
Subject: Re: Array: comparing first N elements?