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 robertmh...@gmail.com wrote: On Mon, Dec 14, 2009 at 12:59 PM, Robert Haas robertmh...@gmail.com 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

[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

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 g...@turnstep.com 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

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 robertmh...@gmail.com 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()