From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Guyren Howe <guyren(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: SELECT DISTINCT ON removes results |
Date: | 2016-10-29 00:29:10 |
Message-ID: | CAKFQuwY8jkPy1EB97WqLFMu2ATLQ7_ueHAczt5s4UDdp8-iMog@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Oct 28, 2016 at 2:17 PM, Guyren Howe <guyren(at)gmail(dot)com> wrote:
> On Oct 28, 2016, at 14:15 , Guyren Howe <guyren(at)gmail(dot)com> wrote:
>
>
> On Oct 28, 2016, at 13:50 , David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
> wrote:
>
>
> On its face the statement "DISTINCT ON removes results" is not at all
> surprising given its definition.
>
>
> What is surprising is that it removes *all* results…
>
>
> The inner query on its own appears to produce the same results, but the
> left join with it in either case produces different results.
>
Then maybe you can help us and create reproducible example that
demonstrates the bug so that it can be fixed.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2016-10-29 00:46:10 | Re: initdb createuser commands |
Previous Message | Adrian Klaver | 2016-10-29 00:21:40 | Re: initdb createuser commands |