Re: md_open problem - Mailing list pgsql-admin

From jdassen@cistron.nl (J.H.M. Dassen (Ray))
Subject Re: md_open problem
Date
Msg-id slrn973229.tim.jdassen@odin.cistron-office.nl
Whole thread Raw
In response to md_open problem  ("Rommel B. Abaya" <rommel.abaya@ramcargroup.com>)
List pgsql-admin
Rommel B. Abaya <rommel.abaya@ramcargroup.com> wrote:
>this has occured to me quite often and im out of solution for this. how do
>you address an md_open() problem in PostgreSQL? It occurs everytime the
>Linux box goes on power failure while transactions are being commited to
>the database.

>i also try dropping the tables but i get the same md_open error.

I'm not sure I recall the exact sequence to fix things, but I believe it is
- touch(1) the data/base/<name>/<tablename> PostgreSQL is complaining about
  into existence
- drop the table
- recreate the table

HTH,
Ray
--
Brought to you by Microsoft .NOT technology: just say No.

pgsql-admin by date:

Previous
From: Cédric Mesnil
Date:
Subject: hba_conf: only first line is checked
Next
From: "a"
Date:
Subject: postgres limitation