Martin Sarsale <lists@runa.sytes.net> writes:
> Im running debian stable/testing, postgresql 7.3.2 with a "connect by
> prior" patch.
Oh. You know, there's a reason why that patch isn't in the tree. Back
it out...
If you really want to use that patch, dump your database without the
patch, install the patch, initdb, reload. It is not initdb-compatible.
regards, tom lane