BUG #6453: auto_explain produces bad json output - Mailing list pgsql-bugs

From daniele.varrazzo@gmail.com
Subject BUG #6453: auto_explain produces bad json output
Date
Msg-id E1RwYZw-0003zu-UD@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6453: auto_explain produces bad json output
List 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:=20=20=20=20=20=20=20=20

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 {}.

pgsql-bugs by date:

Previous
From: "quanhaqub@yahoo.com"
Date:
Subject: Re: BUG #5679: pgAdminIII 1.12.0 hangs
Next
From: Daniele Varrazzo
Date:
Subject: Re: BUG #6453: auto_explain produces bad json output