pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mário Gamito <gamito@netual.pt>
Cc: pgsql-admin@postgresql.org
Subject: Re: Serious trouble with my postgresql
Date: Tue, 14 Sep 2004 10:31:37 -0400
Message-ID: <7000.1095172297@sss.pgh.pa.us> (raw)
In-Reply-To: <4146C2B2.5080106@netual.pt>
References: <4146C2B2.5080106@netual.pt>

=?ISO-8859-1?Q?M=E1rio_Gamito?= <gamito@netual.pt> writes:
> Meanwhile, i guess i've screwed up :( and erased two files with 0 bytes, 
> something like 0000000000000001, i can't remember quite well.

That was a bad move.  Start over, and next time don't assume that you
can remove random pieces of the database without consequence.

(You could possibly try pg_resetxlog, but given that you were having
problems before you did that, I wouldn't care to assume that you'll get
a consistent database that way.)

			regards, tom lane



view thread (2+ messages)

Message-ID: <7000.1095172297@sss.pgh.pa.us>
Permalink:  ../7000.1095172297@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7000.1095172297@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gamito@netual.pt
  Subject: Re: Serious trouble with my postgresql
  In-Reply-To: <7000.1095172297@sss.pgh.pa.us>
  References: <4146C2B2.5080106@netual.pt> <7000.1095172297@sss.pgh.pa.us>

* 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