pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pankhuri.sai@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11120: Decrease in no. of rows while sorting
Date: Thu, 07 Aug 2014 19:08:51 -0400
Message-ID: <22755.1407452931@sss.pgh.pa.us> (raw)
In-Reply-To: <20140804064924.2708.77691@wrigleys.postgresql.org>
References: <20140804064924.2708.77691@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

pankhuri.sai@gmail.com writes:
> n executing the following query, it is found that no. of actual rows after
> hash join of part and partsupp (158960) is not equal to no. of rows sorted
> after that(158755).

I don't see any bug there.  It looks like the mergejoin stopped a bit
short of reading all the output from the sort node, which is unsurprising
behavior for a mergejoin: it can stop as soon as it's exhausted the output
from either input.

			regards, tom lane


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



view thread (2+ messages)

Message-ID: <22755.1407452931@sss.pgh.pa.us>
Permalink:  ../22755.1407452931@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22755.1407452931@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, pankhuri.sai@gmail.com
  Subject: Re: BUG #11120: Decrease in no. of rows while sorting
  In-Reply-To: <22755.1407452931@sss.pgh.pa.us>
  References: <20140804064924.2708.77691@wrigleys.postgresql.org> <22755.1407452931@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