Re: Temporary table has become problematically persistent

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ricky Ramirez <ricky(at)reddit(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Temporary table has become problematically persistent
Date: 2020-05-04 23:54:18
Message-ID: 7820.1588636458@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ricky Ramirez <ricky(at)reddit(dot)com> writes:
> We have run into a strange situation with our database. A temporary table
> was created some time ago and that session has since died. However, the
> temporary table stuck around. It's been around long enough that postgres
> stopped accepting writes to prevent transaction ID wraparound. Problem is,
> it's a temporary table and the session that it's associated with is gone,
> so we cannot vacuum it nor even drop the table. We even restarted postgres
> and the temporary table was still there!

Hm, what PG version is this? I thought we'd fixed that hazard quite some
while back.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ricky Ramirez 2020-05-05 00:21:29 Re: Temporary table has become problematically persistent
Previous Message Rob Sargent 2020-05-04 23:46:27 Re: Thoughts on how to avoid a massive integer update.