pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Coleman <jtc331@gmail.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Luc Vlaming <luc@swarm64.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: "could not find pathkey item to sort" for TPC-DS queries 94-96
Date: Mon, 19 Apr 2021 17:42:04 -0400
Message-ID: <345181.1618868524@sss.pgh.pa.us> (raw)
In-Reply-To: <344971.1618868270@sss.pgh.pa.us>
References: <91f3ec99-85a4-fa55-ea74-33f85a5c651f@swarm64.com>
	<b386c655-ba5d-a1e2-9791-83b103f5a638@enterprisedb.com>
	<CAAaqYe_NU4hO9COoJdcXWqjtH=dGMknYdsSdJjZ=JOHPTea-Nw@mail.gmail.com>
	<CAAaqYe8hst0zS4FDc-gS++u=NRkdKYEn5-zi8FLjDp2+DELBdw@mail.gmail.com>
	<d34620b9-3585-553a-3b76-ef7151c16f0e@swarm64.com>
	<CAAaqYe90ASC2deAaVou6ev5ppXMGG_epWK+D5yeqpwxG3-OEzw@mail.gmail.com>
	<ffd9a157-9c7c-6efe-19e4-2af81a6eb220@enterprisedb.com>
	<355670.1618688385@sss.pgh.pa.us>
	<CAAaqYe8q55PXHkQZHkZEYy7b6_B72MntWGXN6xcTo8T716zOZw@mail.gmail.com>
	<344971.1618868270@sss.pgh.pa.us>

I wrote:
> I'm not wedded to that name, certainly, but it seems like neither
> of these is quite getting at the issue.  An EC can be sorted on,
> by definition, but there are some things we don't want to sort
> on till the final output step.  I was trying to think of something
> using the terminology "early sort", but didn't much like
> "relation_has_early_sortable_ec_member" or obvious variants of that.

... or, as long as it's returning a boolean, maybe it could be
"relation_can_be_sorted_early" ?

			regards, tom lane





view thread (29+ messages)  latest in thread

Message-ID: <345181.1618868524@sss.pgh.pa.us>
Permalink:  ../345181.1618868524@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/345181.1618868524@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jtc331@gmail.com, tomas.vondra@enterprisedb.com, luc@swarm64.com, robertmhaas@gmail.com
  Subject: Re: "could not find pathkey item to sort" for TPC-DS queries 94-96
  In-Reply-To: <345181.1618868524@sss.pgh.pa.us>
  References: <91f3ec99-85a4-fa55-ea74-33f85a5c651f@swarm64.com> <b386c655-ba5d-a1e2-9791-83b103f5a638@enterprisedb.com> <CAAaqYe_NU4hO9COoJdcXWqjtH=dGMknYdsSdJjZ=JOHPTea-Nw@mail.gmail.com> <CAAaqYe8hst0zS4FDc-gS++u=NRkdKYEn5-zi8FLjDp2+DELBdw@mail.gmail.com> <d34620b9-3585-553a-3b76-ef7151c16f0e@swarm64.com> <CAAaqYe90ASC2deAaVou6ev5ppXMGG_epWK+D5yeqpwxG3-OEzw@mail.gmail.com> <ffd9a157-9c7c-6efe-19e4-2af81a6eb220@enterprisedb.com> <355670.1618688385@sss.pgh.pa.us> <CAAaqYe8q55PXHkQZHkZEYy7b6_B72MntWGXN6xcTo8T716zOZw@mail.gmail.com> <344971.1618868270@sss.pgh.pa.us> <345181.1618868524@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