Re: additional patch for contrib/tablefunc - added to - Mailing list pgsql-patches

From Joe Conway
Subject Re: additional patch for contrib/tablefunc - added to
Date
Msg-id 3D93B44D.1080503@joeconway.com
Whole thread Raw
In response to Re: additional patch for contrib/tablefunc - added to  (Gavin Sherry <swm@linuxworld.com.au>)
Responses Re: additional patch for contrib/tablefunc - added to
List pgsql-patches
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



pgsql-patches by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: additional patch for contrib/tablefunc - added to
Next
From: Tom Lane
Date:
Subject: Re: Cascaded Column Drop