Re: Temporary table has become problematically persistent

From: Ricky Ramirez <ricky(at)reddit(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Temporary table has become problematically persistent
Date: 2020-05-05 00:21:29
Message-ID: CAFbL3BobE9Pi6s3tMKp+c=C_h+DVahONcqvpn4TA9+ntiJ0NUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Forgive me for forgetting the basics PG 11.2 on Ubuntu Bionic, amd64. No
extensions enabled.

On Mon, May 4, 2020 at 4:54 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> 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

Browse pgsql-general by date

  From Date Subject
Next Message Virendra Kumar 2020-05-05 00:27:29 Re: Installing Postgis25_11
Previous Message Tom Lane 2020-05-04 23:54:18 Re: Temporary table has become problematically persistent