Re: Fix for pg_upgrade and invalid indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for pg_upgrade and invalid indexes
Date
Msg-id 6274.1364598185@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for pg_upgrade and invalid indexes  (Andres Freund <andres@2ndquadrant.com>)
Responses 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>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: Fix for pg_upgrade and invalid indexes
Next
From: Daniel Farina
Date:
Subject: Re: Getting to 9.3 beta