Re: bug in join?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug in join?
Дата
Msg-id 7726.1010010596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bug in join?  (Laurette Cisneros <laurette@nextbus.com>)
Ответы Re: bug in join?  (Laurette Cisneros <laurette@nextbus.com>)
Re: bug in join?  (Laurette Cisneros <laurette@nextbus.com>)
Список pgsql-hackers
Laurette Cisneros <laurette@nextbus.com> writes:
> I will keep trying to recreate it for you.

You could just try
analyze b;analyze d;explain select * from b,d where b.address = d.address;

and repeat until you see the error from EXPLAIN.  Since ANALYZE takes
a random sampling these days, successive loops will in fact produce
slightly different results, and you may be able to recreate the
erroneous state eventually.

The math in eqjoinsel() is not entirely trivial, but I thought I had
convinced myself it was okay.  I need to see a failing example to 
figure out what's wrong with it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Bulkloading using COPY - ignore duplicates?
Следующее
От: Laurette Cisneros
Дата:
Сообщение: Re: bug in join?