Re: Partition by outer join

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Hubert Lubaczewski <depesz(at)depesz(dot)com>
Cc: aditya desai <admad123(at)gmail(dot)com>, pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: Partition by outer join
Date: 2021-08-24 14:15:29
Message-ID: CAKFQuwZb3rypdkjbtAdZFEbBJJxJz2vw1Omt87+UUqmHFFjmhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Aug 23, 2021 at 11:32 PM hubert depesz lubaczewski <
depesz(at)depesz(dot)com> wrote:

> On Mon, Aug 23, 2021 at 09:22:47PM +0530, aditya desai wrote:
> > While trying to migrate Oracle to Postgres wera stuck with PARTITION BY
> > OUTER JOIN. Can someone help rewriting or helping with Postgres
> > equivalent of below query? Thanks in advance.
>
> It would make MUCH more sense to show us data and expected output.
> Why do you assume Pg dbas know and understand intricacies of Oracle?
>
>
Yeah, posting with the hope that someone with cross-DB knowledge might be
available to chime in makes sense. But absent any response one should then
try and frame the problem in such a way as to not require knowledge beyond
what PostgreSQL can do.

But a simple paragraph describing what the query is doing would be an ok
starting point - though as always the more detailed and self-contained the
problem statement the better.

David J.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Steve Midgley 2021-08-24 16:01:46 Re: Partition by outer join
Previous Message Tom Lane 2021-08-24 14:12:51 Re: question about to_tsvector and to_tsquery