OR clause and joins

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)sable(dot)krasnoyarsk(dot)su (Vadim B(dot) Mikheev)
Cc: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: OR clause and joins
Date: 1998-08-07 05:10:18
Message-ID: 199808070510.BAA03771@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I believe that clauses.c:join_clause_p properly only allows merge and
hash joins on non-OR clauses. It is called from
initialize_join_clause_info().

I can't get anything but a sequential scan on an OR clause, so I think
we are safe with the multi-index OR handling.

I will keep checking, though.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1998-08-07 05:13:06 Re: [HACKERS] indexes and floats
Previous Message Thomas G. Lockhart 1998-08-07 05:07:29 Re: [HACKERS] indexes and floats