pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <amit.kapila@huawei.com>
To: pgsql-bugs@postgresql.org
Subject: FW: clarification for generate join implied equalities
Date: Thu, 19 Apr 2012 08:08:50 +0530
Message-ID: <001f01cd1dd5$8e4ad1c0$aae07540$%kapila@huawei.com> (raw)

No need to reply the below mail.

I am able to generate the scenario. 

One of them is basically when there is an expression involving relations on
one side and Var on other side.

Select * from t1,t2 where t1.c1 + t2.c2 = t1.c3;

 

From: Amit Kapila [mailto:amit.kapila@huawei.com] 
Sent: Thursday, April 19, 2012 7:37 AM
To: 'PostgreSQL-development'
Subject: clarification for generate join implied equalities

 

In function generate_join_implied_equalities_normal(), in which kind of
query it can have all three outer_members, inner_members, new_members set?

There is handling related to that in the same function down which I wanted
to understand.

Message-ID: <001f01cd1dd5$8e4ad1c0$aae07540$%kapila@huawei.com>
Permalink:  ../001f01cd1dd5$8e4ad1c0$aae07540$%25kapila@huawei.com/
Also on:    postgresql.org/message-id/001f01cd1dd5$8e4ad1c0$aae07540$%kapila@huawei.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: amit.kapila@huawei.com
  Subject: Re: FW: clarification for generate join implied equalities
  In-Reply-To: <001f01cd1dd5$8e4ad1c0$aae07540$%kapila@huawei.com>
  References: <001f01cd1dd5$8e4ad1c0$aae07540$%kapila@huawei.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox