From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Robert A(dot) Weiler" <rweiler(at)perfectsense(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Table corruption on drop |
Date: | 2001-01-01 23:56:15 |
Message-ID: | 2153.978393375@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
"Robert A. Weiler" <rweiler(at)perfectsense(dot)com> writes:
> [rotweiler(at)pss5 schema]$ psql < postgresql.sql
> NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'domain_pkey' for table 'domain'
> NOTICE: mdopen: couldn't open unique_id: No such file or directory
> NOTICE: RelationIdBuildRelation: smgropen(unique_id): No such file or directory
> NOTICE: mdopen: couldn't open unique_id: No such file or directory
> ERROR: Relation 'domain' does not exist
Hmm. This looks suspiciously like the sort of problems that arise if
you try to roll back a DROP TABLE, ie,
begin;
drop table foo;
abort;
which leaves the catalog rows for 'foo' still valid, but the physical
file for it has already been deleted.
The script you show doesn't seem to do that, but I wonder whether it's
not related somehow.
This class of problems is (at long last) fixed for 7.1, but in prior
releases all we can say is "don't do that" :-(
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Travis W. Pouarz | 2001-01-02 00:54:25 | Re: AIX 4.3.1, 7.0.3 build annoyances: C++ comments, make all, macro problem |
Previous Message | Tom Lane | 2001-01-01 23:45:21 | Re: update and tcl/tk |