Bug #740: Temp tables not deleted if postmaster crashes

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #740: Temp tables not deleted if postmaster crashes
Date: 2002-08-17 07:49:17
Message-ID: 20020817074917.3CABA47582E@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Philip Warner (pjw(at)rhyme(dot)com(dot)au) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Temp tables not deleted if postmaster crashes

Long Description
If a postmaster crashes then any temporary tables associated with the backend will not be deleted, which is logical though sad. However, when the database is next started, it does not clean up the leftover temp tables.

'drop table pg_temp_NNNNN_N' seems to work, but it seems more reasonable to expect the startup process to cleanup dead tables.

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Scott 2002-08-17 11:53:02 Re: bug in config for cygwin
Previous Message Bruce Momjian 2002-08-16 15:17:08 Re: bug in config for cygwin