pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maciek Sakrejda <maciek@pganalyze.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Duplicate Workers entries in some EXPLAIN plans
Date: Wed, 16 Oct 2019 09:16:56 +0200
Message-ID: <8978.1571210216@sss.pgh.pa.us> (raw)
In-Reply-To: <CADXhmgSr807j2Pc9aUjW2JOzOBe3FeYnQBe_f9U+-Mm4b1HRUw@mail.gmail.com>
References: <CADXhmgSr807j2Pc9aUjW2JOzOBe3FeYnQBe_f9U+-Mm4b1HRUw@mail.gmail.com>

Maciek Sakrejda <maciek@pganalyze.com> writes:
> I ran into an odd behavior with some EXPLAIN results in Postgres 11.5. I
> noticed this with JSON format first, but similar issues exist with the
> other formats as well for this query. I think I can follow up with the
> query and full plan if needed, but essentially, the issue is that the Sort
> node has two different entries for the "Workers" key (something that
> technically JSON does allow, but such JSON structures are very difficult to
> work with, and JSON library support for them is poor).

Yeah, this was already complained of here:

https://www.postgresql.org/message-id/flat/41ee53a5-a36e-cc8f-1bee-63f6565bb1ee%40dalibo.com

I think the text-mode output is intentional, but the other formats
need more work.  We also need to think about whether we can change
this without big backwards-compatibility problems.

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <8978.1571210216@sss.pgh.pa.us>
Permalink:  ../8978.1571210216@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8978.1571210216@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, maciek@pganalyze.com
  Subject: Re: Duplicate Workers entries in some EXPLAIN plans
  In-Reply-To: <8978.1571210216@sss.pgh.pa.us>
  References: <CADXhmgSr807j2Pc9aUjW2JOzOBe3FeYnQBe_f9U+-Mm4b1HRUw@mail.gmail.com> <8978.1571210216@sss.pgh.pa.us>

* 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