Re: Query performance issue - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Query performance issue
Date
Msg-id 7fd675e06f99fc29f9c7c738b1d688c53f4f4f06.camel@cybertec.at
Whole thread Raw
In response to Re: Query performance issue  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
On Tue, 2024-10-22 at 13:06 -0700, David G. Johnston wrote:
> On Tue, Oct 22, 2024 at 1:01 PM Ron Johnson <ronljohnsonjr@gmail.com> wrote:
> > On Tue, Oct 22, 2024 at 3:02 PM Greg Sabino Mullane <htamfids@gmail.com> wrote:
> > > * Don't use the "FROM table1, table2, table3" syntax but use "FROM table1 JOIN table2 ON (...) JOIN table3 ON
(...)
> >
> > Why?
>
> Readability is improved when done correctly; and you need to know it for outer joins anyway, so consistency.

Also, you cannot accidentally forget a join condition.

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: yudhi s
Date:
Subject: Re: Query performance issue
Next
From: yudhi s
Date:
Subject: Re: Query performance issue