Re: accidentally deleted data directory - Mailing list pgsql-admin

From Thara Vadakkeveedu
Subject Re: accidentally deleted data directory
Date
Msg-id 1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: accidentally deleted data directory  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-admin
Thank you!
 
I deleted data directory again and then ran initdb.
This time service started successfully.
TG
 

From: Albe Laurenz <laurenz.albe@wien.gv.at>
To: Thara Vadakkeveedu <tharagv@yahoo.com>; "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.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

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


pgsql-admin by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: accidentally deleted data directory
Next
From: Thara Vadakkeveedu
Date:
Subject: connecting to the database from pgadmin client