public inbox for [email protected]
help / color / mirror / Atom feedFrom: Laurenz Albe <[email protected]>
To: David G. Johnston <[email protected]>
To: Ron Johnson <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Query performance issue
Date: Tue, 22 Oct 2024 22:47:11 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKFQuwbV33pOEdayvCaOrgm+qYfVgpnTr8KP-katfxnDfQ+cQg@mail.gmail.com>
References: <CAEzWdqfeaLov=e3Dk_wMpzh0yWhGcVJhundmL=QL1X_KqG_Jfw@mail.gmail.com>
<[email protected]>
<CAEzWdqdDTPxxzQYJfr_RdJTtLx-kNnc__z8f9nB25wVQuKzapg@mail.gmail.com>
<CAKAnmmKMzXaUeVg-WLVReCOD-=+8GUq8=Uc7a0jfU6DgzPZ_Yg@mail.gmail.com>
<CANzqJaDpTOQ3d8JaMP90dRjqBM3NQozxL2eovOsfQKqFJOcLiA@mail.gmail.com>
<CAKFQuwbV33pOEdayvCaOrgm+qYfVgpnTr8KP-katfxnDfQ+cQg@mail.gmail.com>
On Tue, 2024-10-22 at 13:06 -0700, David G. Johnston wrote:
> On Tue, Oct 22, 2024 at 1:01 PM Ron Johnson <[email protected]> wrote:
> > On Tue, Oct 22, 2024 at 3:02 PM Greg Sabino Mullane <[email protected]> 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
view thread (9+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Query performance issue
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox