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:37:50 -0400
Message-ID: <344971.1618868270@sss.pgh.pa.us> (raw)
In-Reply-To: <CAAaqYe8q55PXHkQZHkZEYy7b6_B72MntWGXN6xcTo8T716zOZw@mail.gmail.com>
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>

James Coleman <jtc331@gmail.com> writes:
> I forgot to comment on this in my previous email, but it seems to me
> that relation_has_safe_ec_member, while less wordy, isn't quite
> descriptive enough. Perhaps something like
> relation_has_sort_safe_ec_member?

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.

			regards, tom lane





view thread (29+ messages)  latest in thread

Message-ID: <344971.1618868270@sss.pgh.pa.us>
Permalink:  ../344971.1618868270@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/344971.1618868270@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: <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>

* 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