"Mikko Partio" <mpartio@xxxxxxxxx> writes: > On Tue, Apr 8, 2008 at 6:38 PM, Zdenek Kotala <Zdenek.Kotala@xxxxxxx> wrote: >> It is really strange. It would be nice to have reproduce scenario. Can you >> run same DDL command which invoke a catalog corruption on test database >> cluster? > I tried it on a fresh instance but it went through with no errors :( Is it possible that anything was doing a VACUUM FULL on pg_class concurrently with your schema changes on these tables? The behavior looks suspiciously like some problems we've seen before wherein rows ended up with the wrong commit-bit markings... regards, tom lane