Re: Error on CLUSTER command - Mailing list pgsql-admin

From Tom Lane
Subject Re: Error on CLUSTER command
Date
Msg-id 5885.1202504160@sss.pgh.pa.us
Whole thread Raw
In response to Re: Error on CLUSTER command  ("Mark Steben" <msteben@autorevenue.com>)
List pgsql-admin
"Mark Steben" <msteben@autorevenue.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

pgsql-admin by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: pg_dump on windows
Next
From: "Peter Koczan"
Date:
Subject: Re: Multiple postgresql serices on same windows machine..