Re: connectby_reverselookup()

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: connectby_reverselookup()
Дата
Msg-id 3EFCD2C0.2080501@joeconway.com
обсуждение исходный текст
Ответ на Re: connectby_reverselookup()  (Nabil Sayegh <postgresql@e-trolley.de>)
Ответы Re: connectby_reverselookup()  (Nabil Sayegh <postgresql@e-trolley.de>)
Список pgsql-novice
Nabil Sayegh wrote:
> What would yout think about a function that ascends a tree from a given
> node to the topmost and returns the path as a table ?
>

Not sure I understand what you're proposing correctly, but can't you
just reverse the parent/child id fields?

Joe


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: ERROR: tuplestore_gettuple: invalid state
Следующее
От: Nabil Sayegh
Дата:
Сообщение: Re: connectby_reverselookup()