pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tatsuro Yamada <yamada.tatsuro@lab.ntt.co.jp>
To: pgsql-hackers@postgresql.org
Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist
Date: Mon, 20 Jun 2016 17:31:31 +0900
Message-ID: <5767A9E3.2080600@lab.ntt.co.jp> (raw)
In-Reply-To: <CA+TgmoaR3-DWxQFiw_5Z3zOi=-+SzFGksVdQef+nyVKWpSCJNQ@mail.gmail.com>
References: <CAEepm=1P94ca18KdQK_uLyAG521mqfF4My5MkFSftCxYuJZYgw@mail.gmail.com>
	<CA+TgmobBRacuT1JRpG5kH0UZCL5XXKb7wEXhe7EcX9VQdqqWkA@mail.gmail.com>
	<15695.1465827695@sss.pgh.pa.us>
	<CA+kptmAGnsCOQR6LvfPpiF7iBN79No6jXpkvcCJ2v9GGbrtu2Q@mail.gmail.com>
	<17170.1465830165@sss.pgh.pa.us>
	<20756.1465834072@sss.pgh.pa.us>
	<CAA4eK1Kz_BO=mgQVb3-kJeVXT5wsVUPDS54Og6TkJSw5_n9_ng@mail.gmail.com>
	<9513.1465921122@sss.pgh.pa.us>
	<CA+TgmoYmCJp=k4Mr2OmA0h1hZ7ki6=esUb=JVU3-ZU0YmzYZNg@mail.gmail.com>
	<CAA4eK1+tn1hvFM_E31Gxxh+G9sWxcTecmkXYw0EGTvD4eM6aPg@mail.gmail.com>
	<CA+TgmobOiTROQecOXRo+T-Fr_zOrerU3JDESrZ45LgH+Ma9QPg@mail.gmail.com>
	<CA+TgmoZyrATvOLWyqMAaGX9CXUaukJeMG6R5eHHZhotoxTKdfQ@mail.gmail.com>
	<CA+kptmBc0sBShAce5thubBae3j8fq_PJcV_jL=VMAkCGk3y9Vg@mail.gmail.com>
	<CAA4eK1KnbezhNWHzUrA0cj1Wh5K1ay-wRQr8SYOdrPt9D80ZFw@mail.gmail.com>
	<CA+Tgmobfrg9K+o5OCvpw1um2ac-UXRWbUf25FhtzE_1VeP=dfw@mail.gmail.com>
	<CA+TgmoaR3-DWxQFiw_5Z3zOi=-+SzFGksVdQef+nyVKWpSCJNQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hi,

I ran tpc-h's queries on this version and it's successful.
The error is fixed.

commit 705ad7f3b523acae0ddfdebd270b7048b2bb8029
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date:   Sun Jun 19 13:11:40 2016 -0400

Regards,
Tatsuro Yamada
NTT OSS Center


On 2016/06/18 1:26, Robert Haas wrote:
> On Fri, Jun 17, 2016 at 9:29 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Fri, Jun 17, 2016 at 9:04 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>>> Attached, please find updated patch based on above lines.  Due to addition
>>> of projection path on top of partial paths, some small additional cost is
>>> added for parallel paths. In one of the tests in select_parallel.sql the
>>> plan was getting converted to serial plan from parallel plan due to this
>>> cost, so I have changed it to make it more restrictive.  Before changing, I
>>> have debugged the test to confirm that it was due to this new projection
>>> path cost.  I have added two new tests as well to cover the new code added
>>> by patch.
>>
>> I'm going to go work on this patch now.
>
> Here is a revised version, which I plan to commit in a few hours
> before the workday expires.  I kept it basically as Amit had it, but I
> whacked the comments around some and, more substantively, avoided
> inserting and/or charging for a Result node when that's not necessary.
>
>
>
>




-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (66+ messages)  latest in thread

Message-ID: <5767A9E3.2080600@lab.ntt.co.jp>
Permalink:  ../5767A9E3.2080600@lab.ntt.co.jp/
Also on:    postgresql.org/message-id/5767A9E3.2080600@lab.ntt.co.jp

 · 

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: yamada.tatsuro@lab.ntt.co.jp
  Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist
  In-Reply-To: <5767A9E3.2080600@lab.ntt.co.jp>
  References: <CAEepm=1P94ca18KdQK_uLyAG521mqfF4My5MkFSftCxYuJZYgw@mail.gmail.com> <15695.1465827695@sss.pgh.pa.us> <CA+kptmAGnsCOQR6LvfPpiF7iBN79No6jXpkvcCJ2v9GGbrtu2Q@mail.gmail.com> <17170.1465830165@sss.pgh.pa.us> <20756.1465834072@sss.pgh.pa.us> <CAA4eK1Kz_BO=mgQVb3-kJeVXT5wsVUPDS54Og6TkJSw5_n9_ng@mail.gmail.com> <9513.1465921122@sss.pgh.pa.us> <CA+TgmoYmCJp=k4Mr2OmA0h1hZ7ki6=esUb=JVU3-ZU0YmzYZNg@mail.gmail.com> <CAA4eK1+tn1hvFM_E31Gxxh+G9sWxcTecmkXYw0EGTvD4eM6aPg@mail.gmail.com> <CA+TgmobOiTROQecOXRo+T-Fr_zOrerU3JDESrZ45LgH+Ma9QPg@mail.gmail.com> <CA+TgmoZyrATvOLWyqMAaGX9CXUaukJeMG6R5eHHZhotoxTKdfQ@mail.gmail.com> <CA+kptmBc0sBShAce5thubBae3j8fq_PJcV_jL=VMAkCGk3y9Vg@mail.gmail.com> <CAA4eK1KnbezhNWHzUrA0cj1Wh5K1ay-wRQr8SYOdrPt9D80ZFw@mail.gmail.com> <CA+Tgmobfrg9K+o5OCvpw1um2ac-UXRWbUf25FhtzE_1VeP=dfw@mail.gmail.com> <CA+TgmoaR3-DWxQFiw_5Z3zOi=-+SzFGksVdQef+nyVKWpSCJNQ@mail.gmail.com> <5767A9E3.2080600@lab.ntt.co.jp>

* 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