Re: Problem with starting PostgreSQL server 7.4.19 - Mailing list pgsql-general

From Craig Ringer
Subject Re: Problem with starting PostgreSQL server 7.4.19
Date
Msg-id 47D775B0.3090205@postnewspapers.com.au
Whole thread Raw
In response to Re: Problem with starting PostgreSQL server 7.4.19  ("Kakoli Sen" <kakolis@cdacb.ernet.in>)
List pgsql-general
Kakoli Sen wrote:
> Hi,
> Actually, I tried stopping server by 'kill `cat
> /opt/pgsql/data/postmaster.pid`. This did not work. So I used kill -9 on Red
> Hat 4.
>
> This is a test database where we are in the process of setting up. So it
> does not have live data. Still I do agree, it was not a good idea.
>
> Now, do I have to re-install PostgreSQL or is there any way out?

Well, if it's a test database you should be able to rename or remove the
data directory and then re-run initdb, since you don't care about the
data in the database.

I'm sure you want to find out why this happened, though, so maybe you
should keep the damaged database around for a while and see if anybody
here has ideas about what could've happened.

--
Craig Ringer


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SELECT overhead in explicit transaction
Next
From: Tom Lane
Date:
Subject: Re: Problem with starting PostgreSQL server 7.4.19