On 10 November 2011 02:54, Wes Cravens <wcravens@xxxxxxxxxxxxx> wrote: > On 11/9/2011 7:34 PM, David Johnston wrote: >> Use "WITH RECURSIVE" instead of a function. >> > > I apologize but I don't know how that would work. An example would help. There are fine examples in the documentation for the SELECT statement. -- If you can't see the forest for the trees, Cut the trees and you'll see there is no forest. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general