Re: Fail to restore index tables by pg_dumpall - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Fail to restore index tables by pg_dumpall
Date
Msg-id 13212.974302801@sss.pgh.pa.us
Whole thread Raw
In response to RE: Fail to restore index tables by pg_dumpall  ("Jessica Ord" <jo@uk.xo.com>)
List pgsql-bugs
"Jessica Ord" <jo@uk.xo.com> writes:
> I am not sure if the 'initdb --template' command has also cleared away all
> the system index tables as well.

initdb --template?  Why are you using that?  I think that's a poorly
debugged (to put it kindly) feature.  I'd recommend staying away from
it.  Assuming that you are careful not to put any user data into
template1, there is no reason ever to reinitialize template1 after the
initial initdb.

At this point I think you may have to do a full initdb to get back into
a good state.  If you have backups of everything, that seems like the
way to go rather than trying to dig your way out of the hole bit by bit.

            regards, tom lane

pgsql-bugs by date:

Previous
From: netad24@netad24.com
Date:
Subject: aktuelle Viruswarnung - BITTE BEACHTEN
Next
From: Tom Lane
Date:
Subject: WHERE-clause evaluation order (was Problem with BETWEEN and a view)