Re: "temporary" table is still there - Mailing list pgsql-general

From Tom Lane
Subject Re: "temporary" table is still there
Date
Msg-id 7081.975967020@sss.pgh.pa.us
Whole thread Raw
In response to "temporary" table is still there  (Chris Jones <chris@mt.sri.com>)
List pgsql-general
Chris Jones <chris@mt.sri.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

pgsql-general by date:

Previous
From: "Joel Burton"
Date:
Subject: Re: Re: [NOVICE] Password protection?
Next
From: Tom Lane
Date:
Subject: Re: Re: Why PostgreSQL is not that popular as MySQL?