Ricky Ramirez <ricky@xxxxxxxxxx> 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