Re: accidentally deleted data directory

From: Thara Vadakkeveedu <tharagv(at)yahoo(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: accidentally deleted data directory
Date: 2013-09-25 00:27:39
Message-ID: 1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you!
 
I deleted data directory again and then ran initdb.
This time service started successfully.
TG
 

________________________________
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>
Sent: Tuesday, September 24, 2013 10:11 AM
Subject: Re: [ADMIN] accidentally deleted data directory

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

Browse pgsql-admin by date

  From Date Subject
Next Message Thara Vadakkeveedu 2013-09-25 00:37:49 connecting to the database from pgadmin client
Previous Message Albe Laurenz 2013-09-24 14:11:56 Re: accidentally deleted data directory