Re: Possible Bug in pg_upgrade - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Possible Bug in pg_upgrade
Date
Msg-id 16394.1313004521@sss.pgh.pa.us
Whole thread Raw
In response to Possible Bug in pg_upgrade  (Dave Byrne <dbyrne@mdb.com>)
Responses Re: Possible Bug in pg_upgrade
List pgsql-hackers
Dave Byrne <dbyrne@mdb.com> writes:
> Beginning with commit 002c105a0706bd1c1e939fe0f47ecdceeae6c52d
> pg_upgrade will fail if there are orphaned temp tables in the current
> database with the message 'old and new databases "postgres" have a
> different number of relations'

> On line 41 of pg_upgrade/info.c pg_upgrade checks that the number of
> relations are the same but includes orphaned temp tables in the comparison.

> Is this expected behavior?

Seems like an oversight.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: sha1, sha2 functions into core?
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: Fast GiST index build