<div dir="ltr"><div>Hi all,<br><br></div>I have struggled for a long time to figure out the best way to work with a hierarchical category structure, and finally tried out ltree with great results.  Here is a blog post to explain it all:<br>
<a href="http://dcparris.net/2013/02/24/using-ltree-hierarchical-postgresql/">dcparris.net/2013/02/24/using-ltree-hierarchical-postgresql/</a><br><br clear="all"><div><div>ltree sure makes working with hierarchical data much easier than common table expressions and ugly parent-child table designs.  :-)<br>
</div><div><br></div><div>Hopefully, this will help some of you who work with hierarchical structures in relational databases.<br></div><div><br></div><div>Regards,<br></div><div>Don<br></div><div>-- <br>D.C. Parris, FMP, Linux+, ESL Certificate<br>
Minister, Security/FM Coordinator, Free Software Advocate<div><a href="https://www.xing.com/profile/Don_Parris" target="_blank">http://dcparris.net/</a><a href="http://www.linkedin.com/in/dcparris" target="_blank"></a></div>
<div>GPG Key ID: F5E179BE</div>
</div></div></div>