Re: could not truncate directory "pg_subtrans": apparent wraparound - Mailing list pgsql-admin

From Tom Lane
Subject Re: could not truncate directory "pg_subtrans": apparent wraparound
Date
Msg-id 18038.1274637760@sss.pgh.pa.us
Whole thread Raw
In response to could not truncate directory "pg_subtrans": apparent wraparound  (Mikko Partio <mpartio@gmail.com>)
Responses Re: could not truncate directory "pg_subtrans": apparent wraparound
List pgsql-admin
Mikko Partio <mpartio@gmail.com> writes:
> got the following line at postgresql log:

> May 16 01:17:35 xxx postgres[25550]: [1-1] LOG:  could not truncate
> directory "pg_subtrans": apparent wraparound

>  PostgreSQL 9.0beta1 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC)
> 4.1.2 20080704 (Red Hat 4.1.2-46), 64-bit

Where did this beta1 installation come from --- was it freshly initdb'd
under 9.0, or did you use pg_upgrade on a pre-existing database that had
been around for awhile?  It strikes me that the recently identified bug
in pg_upgrade about not fixing the datfrozenxid of template0 might
possibly explain this.  You'd need to have upgraded an installation that
was at least a couple billion transactions old to hit that bug.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Jobs not running
Next
From: Mikko Partio
Date:
Subject: Re: could not truncate directory "pg_subtrans": apparent wraparound