Re: accidentally deleted data directory

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: Thara Vadakkeveedu <tharagv(at)yahoo(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: accidentally deleted data directory
Date: 2013-09-24 14:11:56
Message-ID: A737B7A37273E048B164557ADEF4A58B17C23CED@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thara Vadakkeveedu wrote:
> Do I need to run pg_resetxlog to fix the corrupted pg_control file issue?

No, since you don't mind starting afresh,
just delete the data directory and run initdb.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Thara Vadakkeveedu 2013-09-25 00:27:39 Re: accidentally deleted data directory
Previous Message Thara Vadakkeveedu 2013-09-24 14:09:45 Re: accidentally deleted data directory