| От | Andres Freund |
|---|---|
| Тема | Re: Fix for pg_upgrade and invalid indexes |
| Дата | |
| Msg-id | 20130330170134.GA23500@alap2.anarazel.de обсуждение |
| Ответ на | Re: Fix for pg_upgrade and invalid indexes (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 2013-03-29 19:03:05 -0400, Tom Lane wrote: > 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.) Ah yes. Then I'd actually find it much more readable to formulate it as a NOT EXISTS(), but that might be just me. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера