Re: contrib/tree

Поиск
Список
Период
Сортировка
От Don Baccus
Тема Re: contrib/tree
Дата
Msg-id 3C5419D8.6010001@pacifier.com
обсуждение исходный текст
Ответ на Re: contrib/tree  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Hannu Krosing wrote:


> Is there a simple query for getting all ancestors of a node ?


Yes, a recursive SQL function that returns a rowset of ancestor keys. 
It works off the key directly, doesn't need to touch any tables, so is 
quite fast.


-- 
Don Baccus
Portland, OR
http://donb.photo.net, http://birdnotes.net, http://openacs.org



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: PostgreSQL v7.2rc2 Released
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pltcl build problem on FreeBSD (was: Re: pltlc and