Re: "temporary" table is still there

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Jones <chris(at)mt(dot)sri(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: "temporary" table is still there
Date: 2000-12-04 21:57:00
Message-ID: 7081.975967020@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris Jones <chris(at)mt(dot)sri(dot)com> writes:
> Now I have a table called pg_temp.1548.0, and I can't delete it:
> fastfacts=> drop table "pg_temp.1548.0";
> ERROR: class "pg_temp.1548.0" is a system catalog
> The same thing happens, whether I'm connected as a mortal user or as
> the PG super-user.

I think you need to restart the postmaster with "-o -O"
(allowSystemTableMods) to be allowed to drop that table.

Perhaps temp tables shouldn't be protected quite as fiercely as the
system catalogs are ;-)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2000-12-04 22:02:03 Re: [GENERAL] Where do COMMENTs on columns go?
Previous Message Tom Lane 2000-12-04 21:45:42 Re: names in WHERE and HAVING