Re: Fwd: vacuuming template0 gave ERROR

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: adey <adey11(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "PostgreSQL Admin" <postgres(at)productivitymedia(dot)com>, postgresql-l <postgresql-l(at)Groups(dot)ittoolbox(dot)com>
Subject: Re: Fwd: vacuuming template0 gave ERROR
Date: 2006-07-31 01:30:24
Message-ID: 21519.1154309424@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

adey <adey11(at)gmail(dot)com> writes:
> select datname, age(datfrozenxid), datfrozenxid, current_date, current_time
> FROM pg_database

> If template0 shouldn't be touched (and I don't know of deliberate access to
> it), why is this changing please?

Because current xid is changing and template0's datfrozenxid is not.

Nonetheless, if template0 is properly frozen then you don't need to
vacuum it, regardless of what age(datfrozenxid) says.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message adey 2006-07-31 02:07:01 Re: Fwd: vacuuming template0 gave ERROR
Previous Message adey 2006-07-31 00:16:28 Fwd: vacuuming template0 gave ERROR