pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fredrik Larsson <fln@mendosus.org>
To: pgsql-admin@postgresql.org
Subject: Couldn't find any tables, sequences or indices!
Date: Thu, 1 Mar 2001 23:57:31 +0100
Message-ID: <003a01c0a2a3$0268de90$3c01a8c0@MSURFERS3> (raw)

Hi guys

I have a sorta emergency...
For some reason all my databases are gone, I can connect to the database but
when I do
\d i get "Couldn't find any tables, sequences or indices!"

But I can do querys: ie select (*) from tblfoo wich results in
count
-----
    0
(1 row)

All the data files (base/foo) is still in place.

I belive the problem occured when (directorys are symlinked) postmaster
failed to startup, due to a broken symlink (was installing new hardware) so
postmaster stared up without the base/foo directory so the pg_log got messed
but, I stoped postmaster, fixed the symlink.
But when I restarted postmaster the problem occured.
While examining the system tables I find that for example in pg_class the
entrys for my tables are gone.

Any ideas? comments?

(Yes there are backups)

Thanks
Fredrik




Message-ID: <003a01c0a2a3$0268de90$3c01a8c0@MSURFERS3>
Permalink:  ../003a01c0a2a3$0268de90$3c01a8c0@MSURFERS3/
Also on:    postgresql.org/message-id/003a01c0a2a3$0268de90$3c01a8c0@MSURFERS3

 · 

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: fln@mendosus.org
  Subject: Re: Couldn't find any tables, sequences or indices!
  In-Reply-To: <003a01c0a2a3$0268de90$3c01a8c0@MSURFERS3>
  References: <003a01c0a2a3$0268de90$3c01a8c0@MSURFERS3>

* 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