Gavin Sherry wrote:
> Correct me if i'm wrong: there was a but in connectby which meant that it
> did not detect infinite recursion correct. You want to add a test to make
> sure it continues to do so. However, if you bust the infinite recursion
> detection it will, by definition, recurse infinitely and not elog() -- at
> least in a reasonably time frame.
>
> To handle this situation, you may need to use the psql timeout
> functionality -- but I know nothing about it.
>
I think you finally got through my thick skull. Now I see the issue. OK, I'll
rework the patch using a timeout.
Thanks for pointing that out! New patch will be sent in shortly -- gotta fight
traffic now.
Joe