Re: [BUGS] using WHERE and AND in SELECT - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] using WHERE and AND in SELECT
Date
Msg-id 11788.1496931039@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] using WHERE and AND in SELECT  (Jean-Yves MARTIN <Jean-Yves.Martin@ec-nantes.fr>)
List pgsql-bugs
Jean-Yves MARTIN <Jean-Yves.Martin@ec-nantes.fr> writes:
> We had an issue when writing a SELECT request : we write:
> select personne_id from personne inner join conducteur on (conducteur.personne_id=personne.personne_id) and
personne.personne_id<20

There's no requirement for parentheses around the JOIN condition,
so that's perfectly legal.
        regards, tom lane


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: "K S, Sandhya (Nokia - IN/Bangalore)"
Date:
Subject: Re: [BUGS] Crash observed during the start of the Postgres process
Next
From: Heikki Linnakangas
Date:
Subject: Re: [BUGS] [PATCH] Fixed malformed error message on malformed SCRAMmessage.