gyrate Post creator 14d* No, I didn't even know about ltree until just now. I used the adjacency list strategy with a recursive CTE. Upvoted for telling me about ltree Downvoted for lack of trolling me 0 Link Parent