Re: [HACKERS] Disable cross products in postgres - Mailing list pgsql-hackers

From Gourav Kumar
Subject Re: [HACKERS] Disable cross products in postgres
Date
Msg-id CAPzqDmhT58=OoRjBxXCQBFBnDm8O4+YyMf4comGEYNBYECBHYA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Disable cross products in postgres  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Responses Re: [HACKERS] Disable cross products in postgres
List pgsql-hackers
Can I use something like joininfo, which will store the join predicates and I can check if there is no join predicate among the two relations don't consider them.

On 14 October 2017 at 01:48, Fabrízio de Royes Mello <fabriziomello@gmail.com> wrote:

On Fri, Oct 13, 2017 at 5:08 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>
> On Fri, Oct 13, 2017 at 4:06 PM, Gourav Kumar <gourav1905@gmail.com> wrote:
> > Can you guide me where to look for it?
>
> Search for make_rels_by_clauseless_joins.
>

I wonder if it's possible implement it as an extension using some hook

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog: http://fabriziomello.github.io
>> Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
>> Github: http://github.com/fabriziomello



--
Thanks,
Gourav Kumar
Computer Science and Automation
Indian Institute of Science

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Parallel safety for extern params
Next
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] [PATCH] pageinspect function to decode infomasks