Re: pg_temp.XX.0

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Daniel Kalchev <daniel(at)digsys(dot)bg>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_temp.XX.0
Date: 2002-04-03 06:13:01
Message-ID: 200204030613.g336D1P12032@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


You can stop the postmaster and start the postgres binary with the -O
flag and delete the pg_temp tables. We don't have a cleanup for these
failed backends but we should. Normally they are cleaned up.

---------------------------------------------------------------------------

Daniel Kalchev wrote:
> I found out, that there are some probably temporary relations in one of my
> databases, with names (that show in vacuum verbose output) like
> pg_temp.12720.0.
>
> Are these the result of CREATE TEMP TABLE or simmilar and if so, can such
> relations be safely dropped? Perhaps a good idea to add some vacuum
> functionality to do this.
>
> Daniel
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark kirkwood 2002-04-03 07:00:06 Re: Re : Solaris Performance - Profiling (Solved)
Previous Message Daniel Kalchev 2002-04-03 06:09:34 pg_temp.XX.0