Re: Error on CLUSTER command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mark Steben" <msteben(at)autorevenue(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Error on CLUSTER command
Date: 2008-02-08 20:56:00
Message-ID: 5885.1202504160@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Mark Steben" <msteben(at)autorevenue(dot)com> writes:
> The doc says to do an initdb and reload the data whenever you run
> pg_resetxlog. Do you concur with that even if we are only resetting the OID
> counter?

The docs are thinking of the case where you are trying to recover from
database corruption. If you just use it to change the OID counter after
a clean shutdown, I don't see a problem.

Not that it wouldn't be a good idea to take a backup first, just
in case...

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Koczan 2008-02-08 22:06:08 Re: Multiple postgresql serices on same windows machine..
Previous Message Andrew Sullivan 2008-02-08 20:54:52 Re: pg_dump on windows