pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: daniele.varrazzo@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6453: auto_explain produces bad json output
Date: Sun, 12 Feb 2012 12:30:52 +0000
Message-ID: <E1RwYZw-0003zu-UD@wrigleys.postgresql.org> (raw)

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





view thread (2+ messages)  latest in thread

Message-ID: <E1RwYZw-0003zu-UD@wrigleys.postgresql.org>
Permalink:  ../E1RwYZw-0003zu-UD@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1RwYZw-0003zu-UD@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daniele.varrazzo@gmail.com
  Subject: Re: BUG #6453: auto_explain produces bad json output
  In-Reply-To: <E1RwYZw-0003zu-UD@wrigleys.postgresql.org>
  References: <E1RwYZw-0003zu-UD@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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