Re: recursive query crash - Mailing list pgsql-hackers

From Tom Lane
Subject Re: recursive query crash
Date
Msg-id 18403.1223858649@sss.pgh.pa.us
Whole thread Raw
In response to Re: recursive query crash  ("Robert Haas" <robertmhaas@gmail.com>)
List pgsql-hackers
OK, I found a real solution: we can fix nodeWorktablescan.c so that the
order of initialization doesn't matter, by postponing the steps that
need information from the RecursiveUnion node until the first exec call
for the worktable node.

Although nodeCtescan is making a similar assumption about initialization
order, I think that one ought to be safe.  We can always change it later
if need be.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Extending pg_class info + more flexible TOAST chunk size