Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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                        |
  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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group