Re: Fix for pg_upgrade and invalid indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix for pg_upgrade and invalid indexes
Дата
Msg-id 6274.1364598185@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix for pg_upgrade and invalid indexes  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Fix for pg_upgrade and invalid indexes  (Bruce Momjian <bruce@momjian.us>)
Re: Fix for pg_upgrade and invalid indexes  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> Those columns cannot be NULL, so using IS DISTINCT FROM seems a bit
> clumsy.

That was what I started to write, too, but actually I think the IS
DISTINCT is correct and the RIGHT JOIN should be a LEFT JOIN.  Note
that the query appears to be intended to collect regular tables as
well as indexes.  (As patched, that's totally broken, so I infer
Bruce hasn't tested it yet.)
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Fix for pg_upgrade and invalid indexes
Следующее
От: Daniel Farina
Дата:
Сообщение: Re: Getting to 9.3 beta