how to regenerate pg_control file ?

From: Brahim EL ALLIOUI <belallioui(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: how to regenerate pg_control file ?
Date: 2016-04-01 17:44:37
Message-ID: CAC+5ZoQLQXuS4hmotV4NcNWor06F2dVr7QeA8+9ysuQHs5JiCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Following a power failure the database is corrupt.
I found that the file "pg_control" missing.
I executed the command "pg_resetxlog" and he gave me the message:

run : touch global/pg_control

Please, what should be done ?

Thanks,

*Brahim EL ALLIOUI*
*General Manager*
belallioui(at)e-acta(dot)com
Skype : belallioui
Tel : +212535749410
Mobile : +212661940077
www.e-acta.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Moreno Andreo 2016-04-01 18:15:16 Re: Multimaster
Previous Message kovert 2016-04-01 17:06:29 instead of triggers refreshing materialized views