pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6453: auto_explain produces bad json output
2+ messages / 2 participants
[nested] [flat]

* BUG #6453: auto_explain produces bad json output
@ 2012-02-12 12:30  daniele.varrazzo@gmail.com
  0 siblings, 1 reply; 2+ messages in thread

From: daniele.varrazzo@gmail.com @ 2012-02-12 12:30 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6453
Logged by:          Daniele Varrazzo
Email address:      daniele.varrazzo@gmail.com
PostgreSQL version: 9.1.2
Operating system:   Any
Description:        

Bug verified on PG 9.0.5 and 9.1.2.

auto_explain in json format produces an output such as:

        [
          "Query Text": "select pg_sleep(2);",
          "Plan": {
            "Node Type": "Result",
            [...]
            "Plan Width": 0
          }
        ]

The representation is wrapped in a pair of [], but the content is a mapping:
it should have been a pair of {}.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #6453: auto_explain produces bad json output
@ 2012-02-12 15:40  Daniele Varrazzo <daniele.varrazzo@gmail.com>
  parent: daniele.varrazzo@gmail.com
  0 siblings, 0 replies; 2+ messages in thread

From: Daniele Varrazzo @ 2012-02-12 15:40 UTC (permalink / raw)
  To: pgsql-bugs

On Sun, Feb 12, 2012 at 12:30 PM,  <daniele.varrazzo@gmail.com> wrote:

> auto_explain in json format produces an output such as:
>
>        [
>          "Query Text": "select pg_sleep(2);",

Oh, sorry, I see it's been already discussed, just in the last days...

-- Daniele



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-02-12 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-02-12 12:30 BUG #6453: auto_explain produces bad json output daniele.varrazzo@gmail.com
2012-02-12 15:40 ` Daniele Varrazzo <daniele.varrazzo@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox