Re: accidentally deleted data directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

From: Albe Laurenz <laurenz.albe@xxxxxxxxxx>
To: Thara Vadakkeveedu <tharagv@xxxxxxxxx>; "pgsql-admin@xxxxxxxxxxxxxx" <pgsql-admin@xxxxxxxxxxxxxx>
Sent: Tuesday, September 24, 2013 10:11 AM
Subject: Re: 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux