pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: tierr <tomek@gorzyca.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: how recovery database (i have all /data catalogue but pg_database file in /data/global is corrupt :/ - empty)
Date: Mon, 6 Apr 2015 19:13:42 -0300
Message-ID: <20150406221342.GI4369@alvh.no-ip.org> (raw)
In-Reply-To: <1428252476781-5844742.post@n5.nabble.com>
References: <1428252476781-5844742.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

tierr wrote:
> hello friends. sorry for my bad eglish. i am from polen. I have big problem.
> My serwer has crashed and my instantion of postgresql 8.3 on windows not
> started. i know why... file in directory /data/global/pg_database is empty
> :/  i have all file from postgres server without this file, but this file is
> most important. My question is... what i can make to restore database from
> folder /data in new instance of postgres server? Please help

That file is not critical.  If you just remove it, the server will
create it again on restart.  (I tried on 8.3.23 removing it and also
creating it as an empty file; the server is able to start in both cases,
and the file later contains the correct contents).  Your problem must be
something else.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



view thread (2+ messages)

Message-ID: <20150406221342.GI4369@alvh.no-ip.org>
Permalink:  ../20150406221342.GI4369@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20150406221342.GI4369@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@2ndquadrant.com, tomek@gorzyca.pl
  Subject: Re: how recovery database (i have all /data catalogue but pg_database file in /data/global is corrupt :/ - empty)
  In-Reply-To: <20150406221342.GI4369@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox