Re: Selecting tree data

Поиск
Список
Период
Сортировка
От D. Dante Lorenso
Тема Re: Selecting tree data
Дата
Msg-id 47214A91.3050401@lorenso.com
обсуждение исходный текст
Ответ на Selecting tree data  ("Pat Maddox" <pergesu@gmail.com>)
Ответы Re: Selecting tree data
Список pgsql-general
Pat Maddox wrote:
> I'd like to store some tree data in my database.  I want to be able to
> sort the data but maintain a tree structure....
> Is it possible to pull all the data like that with one query?  How do
> I need to structure the table, and what query do I have to run in
> order to make it happen?

You need to look at the connectby function which is part of contrib.

-- Dante

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