pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
urgent, Table not shown but files are there.
2+ messages / 2 participants
[nested] [flat]

* urgent, Table not shown but files are there.
@ 2003-04-08 20:59 Bill Hilburn <bhilburn@frontier.net>
  2003-04-08 21:53 ` Re: urgent, Table not shown but files are there. Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Bill Hilburn @ 2003-04-08 20:59 UTC (permalink / raw)
  To: pgsql-admin


Hi All,

I have inherited a Postgresql DB server, this morning one of the tables is no 
longer available to scripts and does not show up in psql.

The main directory for the database is still there and all of the files in it 
including the file(s) for the table that is not showing up.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: urgent, Table not shown but files are there.
  2003-04-08 20:59 urgent, Table not shown but files are there. Bill Hilburn <bhilburn@frontier.net>
@ 2003-04-08 21:53 ` Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Treat @ 2003-04-08 21:53 UTC (permalink / raw)
  To: Bill Hilburn <bhilburn@frontier.net>; +Cc: pgsql-admin

On Tue, 2003-04-08 at 16:59, Bill Hilburn wrote:
> 
> Hi All,
> 
> I have inherited a Postgresql DB server, this morning one of the tables is no 
> longer available to scripts and does not show up in psql.
> 
> The main directory for the database is still there and all of the files in it 
> including the file(s) for the table that is not showing up.
>

How do you know the file is for that table? When you do a select * from
pg_class where relname = 'yourtable' what do you get?
 
> >From what someone here said this has happened before and the old db admin 
> would just fix it in a couple of minutes, I'm new to Postgresql and have not a 
> clue.
> 
> Anyone seen this behaviour before?  Any ideas?
> 

This seems pretty bizarre to me, like your either telling us
mis-information or you've got serious hardware issues. I would guess you
could try to do a create table <yourtable> then look up the relfilenode
and copy your other table file over that one, but that might cause more
problems if I'm mis-diagnosing your description of the problem, so try
it on a backup server first if you can.

I'd recommend posting platform/version info as well before you go to
much further.

Robert Treat




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-04-08 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08 20:59 urgent, Table not shown but files are there. Bill Hilburn <bhilburn@frontier.net>
2003-04-08 21:53 ` Robert Treat <xzilla@users.sourceforge.net>

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