Re: BUG #11120: Decrease in no. of rows while sorting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pankhuri(dot)sai(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11120: Decrease in no. of rows while sorting
Date: 2014-08-07 23:08:51
Message-ID: 22755.1407452931@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pankhuri(dot)sai(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Larry White 2014-08-08 01:38:43 Re: BUG #11109: No Toast compression on JSON, JSONB columns
Previous Message Tom Lane 2014-08-07 21:42:15 Re: BUG #11109: No Toast compression on JSON, JSONB columns