Re: pg_temp.<pid>.<int>

From: "Brian Baquiran" <brianb(at)edsamail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_temp.<pid>.<int>
Date: 2001-03-14 05:56:50
Message-ID: 076201c0ac4b$907fe780$4e64a8c0@edsamail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> "Brian Baquiran" <brianb(at)edsamail(dot)com> writes:
> > Looking in pg_class, I see some tables named pg_temp.<PID>.1 thru
> > 7. Is it safe to delete these rows from pg_class?
>
> Yes, if the backend PIDs that created 'em aren't around anymore. I'd
> suggest DROP TABLE rather than a DELETE FROM pg_class.

Tried that. I get "ERROR: class "pg_temp.6004.0" is a system catalog". Is
it because it starts with "pg_"?

> > I also see old pg_temp* and pg_sorttemp* in the data directory. I guess
I'll
> > be deleting those too.
>
> If you like.

Thanks Tom.

Brian

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mikhail malamud 2001-03-14 06:07:26 RE: Fw: Please Help
Previous Message Tom Lane 2001-03-14 05:42:03 Re: pg_temp.<pid>.<int>