From: Josh Goldberg <josh@4dmatrix.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: postgres-admin <pgsql-admin@postgresql.org>
Subject: Re: lost tables
Date: Tue, 1 Apr 2003 11:36:11 -0800
Message-ID: <072901c2f885$f3895e00$6e02a8c0@4dmatrix.com> (raw)
References: <04c601c2f4d4$16f90da0$6e02a8c0@4dmatrix.com>
<069801c2f7c3$5e33c650$6e02a8c0@4dmatrix.com>
<27717.1049168564@sss.pgh.pa.us>
thanks for the reply. There are a few tables I did this to, here's one of
them:
cms3=# select oid,* from pg_class where relname='view_log';
oid | relname | reltype | relowner | relam | relfilenode | relpages |
reltuples | reltoastrelid | reltoastidxid | relhasindex | relisshared |
relkind | relnatts | relchecks | reltriggers | relukeys | relfkeys | relrefs
| relhasoids | relhaspkey | relhasrules | relhassubclass | relacl
-------+----------+---------+----------+-------+-------------+----------+---
--------+---------------+---------------+-------------+-------------+-------
--+----------+-----------+-------------+----------+----------+---------+----
--------+------------+-------------+----------------+----------------------
19433 | view_log | 19434 | 1 | 0 | 19433 | 10 |
1000 | 836121 | 0 | t | f | r |
5 | 0 | 0 | 0 | 0 | 0 | t | t
| f | t | {=,postgres=arwdRxt}
(1 row)
cms3=# drop table view_log;
NOTICE: RelationBuildDesc: can't open view_log: No such file or directory
ERROR: cannot open view_log: No such file or directory
cms3=#
----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
>
> Can't tell without more details. What's the *exact* error message you
> get from a DROP TABLE? Also it'd be useful to see the pg_class rows
> for the problem tables ("select oid,* from pg_class where relname =
'xxx'")
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: josh@4dmatrix.com, tgl@sss.pgh.pa.us
Subject: Re: lost tables
In-Reply-To: <072901c2f885$f3895e00$6e02a8c0@4dmatrix.com>
References: <04c601c2f4d4$16f90da0$6e02a8c0@4dmatrix.com> <069801c2f7c3$5e33c650$6e02a8c0@4dmatrix.com> <27717.1049168564@sss.pgh.pa.us> <072901c2f885$f3895e00$6e02a8c0@4dmatrix.com>
* 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