Re: Please HELP - URGENT - transaction wraparound error - Mailing list pgsql-general

From Tom Lane
Subject Re: Please HELP - URGENT - transaction wraparound error
Date
Msg-id 12531.1130694892@sss.pgh.pa.us
Whole thread Raw
In response to Re: Please HELP - URGENT - transaction wraparound error  (John Sidney-Woollett <johnsw@wardbrook.com>)
Responses Re: Please HELP - URGENT - transaction wraparound error  (John Sidney-Woollett <johnsw@wardbrook.com>)
List pgsql-general
John Sidney-Woollett <johnsw@wardbrook.com> writes:
> OK, I restored the pgsql/data to another server and started up postgres
> and this is what I got:

>   SELECT datname, age(datfrozenxid) FROM pg_database;
>     datname    |     age
> --------------+-------------
>   mail_lxtreme | -2074187459
>   bp_live      |  1079895636
>   template1    |  1076578064
>   template0    | -2074187459
> (4 rows)

> mail_lxtreme is a test mail db and I don't care about it. So it could
> have been deleted without any worries...

> Which databases are a problem? Is it template0 or bp_live and template1?

mail_lxtreme is exactly the problem.  You weren't vacuuming it...

(template0 is a special case and can be ignored.)

            regards, tom lane

pgsql-general by date:

Previous
From: John Sidney-Woollett
Date:
Subject: Re: Please HELP - URGENT - transaction wraparound error
Next
From: Nikolay Samokhvalov
Date:
Subject: Oracle 10g Express - any danger for Postgres?