Skip site navigation (1) Skip section navigation (2)

BUG #6453: auto_explain produces bad json output

From: daniele(dot)varrazzo(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6453: auto_explain produces bad json output
Date: 2012-02-12 12:30:52
Message-ID: E1RwYZw-0003zu-UD@wrigleys.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged on the website:

Bug reference:      6453
Logged by:          Daniele Varrazzo
Email address:      daniele(dot)varrazzo(at)gmail(dot)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 {}.



Responses

pgsql-bugs by date

Next:From: Daniele VarrazzoDate: 2012-02-12 15:40:18
Subject: Re: BUG #6453: auto_explain produces bad json output
Previous:From: nowind_leeDate: 2012-02-12 10:42:26
Subject: rs.getMetaData.getTableName always return empty string

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group