Archives for: April 2009

Implementing a depth-first search in a PostgreSQL stored procedure using Perl

In this article I'm going to show you how do implement a depth-first search using a stored procedure written in Perl inside the PostgreSQL database server. Depth-first search is an advanced algorithm for quickly traversing all nodes in a tree (like, e… more »