3 ms·
with recursive is actually VERY quick in postgresql (adjacency model). currently using that and thoroughly tested it. simple, very quick and no hassle to update
by m0ppers 12y ago
with recursive is actually VERY quick in postgresql (adjacency model). currently using that and thoroughly tested it. simple, very quick and no hassle to update it (as the other options).
Compared to a mysql with nested set postgres using with recursive is a life changer :D