Re: Array: comparing first N elements?

Поиск
Список
Период
Сортировка
От David Garamond
Тема Re: Array: comparing first N elements?
Дата
Msg-id 7c33d060905120142t75d1c887jfe62f21361eac178@mail.gmail.com
обсуждение исходный текст
Ответ на Array: comparing first N elements?  (David Garamond <davidgaramond@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Array: comparing first N elements?
Следующее
От: Glenn Maynard
Дата:
Сообщение: Re: Array: comparing first N elements?