| От | Josh Berkus |
|---|---|
| Тема | Re: Trees: maintaining pathnames |
| Дата | |
| Msg-id | web-1830006@davinci.ethosmedia.com обсуждение исходный текст |
| Ответ на | Trees: maintaining pathnames (Dan Langille <dan@langille.org>) |
| Ответы |
Re: Trees: maintaining pathnames
|
| Список | pgsql-sql |
Dan, > My existing tree implementation reflects the files contained on disk. > The > full pathname to a particlar file is obtained from the path to the > parent > directory. I am now considering putting this information into a > field in > the table. <snip> > Suggestions, comment, open ridicule, most welcome. thanks. This is a fine implementation using the adjacency list model of tree design. However, I think you may find that the string-based tree implementation in /contrib/ltree is more suited to your purposes, and easier to maintain. -Josh Berkus
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера