Re: ERROR: cannot open relation center_out_analog_proc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
Cc: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ERROR: cannot open relation center_out_analog_proc
Date: 2001-03-06 21:50:53
Message-ID: 7647.983915453@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"G. Anthony Reina" <reina(at)nsi(dot)edu> writes:
> Tom Lane wrote:
>> You can't roll back a DROP TABLE under pre-7.1 releases (and 7.0 has
>> a big fat warning notice to tell you so!). The physical table file
>> is deleted immediately by the DROP, so rolling back the system catalog
>> changes doesn't get you back to a working table.

> Okay, so then you are saying that even though the DROP TABLE and ALTER
> TABLE RENAME went through correctly, the line after that bombed out,
> tried to rollback the transaction, and gave me the error?

Right. The system catalogs roll back just fine, but the Unix filesystem
doesn't know from rollbacks.

> I definitely missed that warning. Are there any big warnings for things
> that don't work so well within a transaction (BEGIN WORK; COMMIT WORK)?

ALTER TABLE RENAME is another one...

This is all fixed in 7.1 btw.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Samuel Sieb 2001-03-06 21:56:25 Re: How to shoot yourself in the foot: kill -9 postmaster
Previous Message G. Anthony Reina 2001-03-06 21:46:27 Re: ERROR: cannot open relation center_out_analog_proc