pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Strange issue with vacuum and temp tables
Date: Fri, 28 Mar 2008 20:26:46 -0400
Message-ID: <17104.1206750406@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0803281701160.7978@discord.home.frostconsultingllc.com>
References: <Pine.LNX.4.64.0803281701160.7978@discord.home.frostconsultingllc.com>

Jeff Frost <jeff@frostconsultingllc.com> writes:
> A look at the code revealed that the temp tables were created via normal 
> methods, so I'm curious to know if there is a bug regarding temp tables not 
> going away on Postgresql-8.2.x after the connection is closed?

You aren't the first to report such a thing, but nobody has the foggiest
idea how it could happen short of a backend crash.  Have they had any
crashes lately (or more specifically, around the mod times of those
files, if you checked them)?

Also, were the pg_temp schemas you zapped particularly high-numbered?
Low-numbered ones would get cleaned out on the next use, but if the
crash happened at a peak in the number of active backends it's easy
to believe the files might hang around for awhile.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <17104.1206750406@sss.pgh.pa.us>
Permalink:  ../17104.1206750406@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17104.1206750406@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff@frostconsultingllc.com
  Subject: Re: Strange issue with vacuum and temp tables
  In-Reply-To: <17104.1206750406@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox