pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: Logfile removal
Date: Wed, 21 May 2003 07:08:55 -0400
Message-ID: <20030521110855.GC15901@libertyrms.info> (raw)
In-Reply-To: <Pine.LNX.4.44.0305211100000.1012-100000@Bhuvan.bksys.co.in>
References: <Pine.LNX.4.44.0305211100000.1012-100000@Bhuvan.bksys.co.in>

On Wed, May 21, 2003 at 11:04:39AM +0530, A.Bhuvaneswaran wrote:

> I have run postmaster with -l option. When postmaster is running, i have
> removed the logfile accidentally. 

Define "logfile".  Do you mean the pg_xlog?  If no, then your
start-up script will presumably create the log file for you when you
re-start.  If yes, however, then. . .

> I am unable to restart postmaster now
> due to various other reasons.  

. . .it's not only other reasons.  You'll need to run pg_resetxlog. 
Keep in mind that you are likely to have a mess on your hands
afterwards.  In particular, there may be inconsistencies in your
data.  Read the relevant docs.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (3+ messages)  latest in thread

Message-ID: <20030521110855.GC15901@libertyrms.info>
Permalink:  ../20030521110855.GC15901@libertyrms.info/
Also on:    postgresql.org/message-id/20030521110855.GC15901@libertyrms.info

 · 

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: andrew@libertyrms.info
  Subject: Re: Logfile removal
  In-Reply-To: <20030521110855.GC15901@libertyrms.info>
  References: <Pine.LNX.4.44.0305211100000.1012-100000@Bhuvan.bksys.co.in> <20030521110855.GC15901@libertyrms.info>

* 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