Re: Idea: Avoid JOINs by using path expressions to follow FKs - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: Idea: Avoid JOINs by using path expressions to follow FKs
Date
Msg-id 20210330065247.z6ciai3nzqj2argo@nol
Whole thread Raw
In response to Re: Idea: Avoid JOINs by using path expressions to follow FKs  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Idea: Avoid JOINs by using path expressions to follow FKs
List pgsql-hackers
On Tue, Mar 30, 2021 at 08:03:09AM +0200, Pavel Stehule wrote:
> 
> On second hand, it can be very nice to have some special strict mode in
> Postgres - maybe slower, not compatible, that disallow some dangerous or
> unsafe queries. But it is possible to solve in extensions, but nobody did
> it. Something like plpgsql_check for SQL - who will write sql_check?

The #1 cause of problems is probably unqualified outer references, and
unfortunately I don't think it's really possible to detect that in an
extension, as the required information is only available in the raw parsetree.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Refactor SSL test framework to support multiple TLS libraries
Next
From: Pavel Stehule
Date:
Subject: Re: Idea: Avoid JOINs by using path expressions to follow FKs