Re: [BUGS] Invalid explain output for multi-plan statements

2009-12-16 Thread Robert Haas
On Mon, Dec 14, 2009 at 10:06 PM, Robert Haas wrote: > On Mon, Dec 14, 2009 at 12:59 PM, Robert Haas wrote: >>> The new explain formats break if you have a multi-query statement. >> I will fix this, unless someone else beats me to it. > > Proposed patch attached. [...discussion...] Hearing no o

Re: [BUGS] Invalid explain output for multi-plan statements

2009-12-14 Thread Robert Haas
On Mon, Dec 14, 2009 at 12:59 PM, Robert Haas wrote: >> The new explain formats break if you have a multi-query statement. > I will fix this, unless someone else beats me to it. Proposed patch attached. The problem with JSON output is pretty simple - ExplainSeparatePlans() still thinks it's resp

Re: [BUGS] Invalid explain output for multi-plan statements

2009-12-14 Thread Robert Haas
On Mon, Dec 14, 2009 at 12:32 PM, Greg Sabino Mullane wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: RIPEMD160 > > > The new explain formats break if you have a multi-query statement. > I don't have time to fix at the moment, but I'll try and explain > the problem. For YAML, the forced lead

[BUGS] Invalid explain output for multi-plan statements

2009-12-14 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 The new explain formats break if you have a multi-query statement. I don't have time to fix at the moment, but I'll try and explain the problem. For YAML, the for