Re: Temporary table has become problematically persistent

2020-05-05 Thread Ricky Ramirez
We couldn't drop the table in the normal setup because of the wraparound protection measures. Specifically: "ERROR: database is not accepting commands to avoid wraparound data loss in database" We also tried vacuuming the table. The vacuum didn't generate an error (the wraparound warning was prin

Re: Temporary table has become problematically persistent

2020-05-04 Thread Jerry Sievers
Ricky Ramirez writes: > Hello, > > 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 >

Re: Temporary table has become problematically persistent

2020-05-04 Thread Ricky Ramirez
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 wrote: > Ricky Ramirez writes: > > We have run into a strange situation with our database. A temporary table > > was created some time ago and that session has si

Re: Temporary table has become problematically persistent

2020-05-04 Thread Tom Lane
Ricky Ramirez 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 I