Re: Vacuuming temporary tables

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Vacuuming temporary tables
Date: 2000-04-06 17:55:16
Message-ID: 200004061755.NAA28945@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Thu, Apr 06, 2000 at 01:10:12PM -0400, Bruce Momjian wrote:
> > Seems temporary tables can not be vacuumed. It is because vacuum.c does
> > a sequential scan of the pg_class table, rather than using the cache.
> > Should this be fixed?
> >
> Do they show up in psql with \d? I only ask because in 6.5.0, they don't,
> but psql's been completely rewritten for 7.0.

No, they do not. I am fixing VACUUM for temporary tables now. The
reason they don't show up is because the cache is not used by psql to
fetch information. It goes right into pg_class, which has only the
pgtemp* name.

--
Bruce Momjian | http://www.op.net/~candle
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-04-06 18:02:19 VACUUM of temp tables
Previous Message Bruce Momjian 2000-04-06 17:54:11 Re: Book and TEMP vs. TEMPORARY