| От | Shawn Harrison |
|---|---|
| Тема | Re: self referencing tables/ nested sets etc... |
| Дата | |
| Msg-id | 000101c41348$e72919a0$119de3cf@THP63412 обсуждение исходный текст |
| Ответ на | self referencing tables/ nested sets etc... (Rob Hoopman <rob@tuna.nl>) |
| Список | pgsql-general |
Joe, That's cool! Thanks for the tip. It looks like your "branch" is my "ancestry". I'll look in contrib more often. I could use connectby() instead of my homebrew plpgsql functions. Shawn ----- Original Message ----- From: "Joe Conway" <mail@joeconway.com> To: "Shawn Harrison" <harrison@tbc.net> Cc: <pgsql-general@postgresql.org> Sent: Wednesday, March 24, 2004 11:37 PM Subject: Re: [GENERAL] self referencing tables/ nested sets etc... > Shawn Harrison wrote: > > Forbes. But my own approach is to let the unique id of each object serve as > > its "key" in the nested set key-chain (which I call its "ancestry"), and > > separate the ids with path separator, e.g.: > > See connectby() in contrib/tablefunc. It produces much the same output > dynamically. > > Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера