Re: Vacuuming leaked temp tables (once again)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gregory Stark <stark@enterprisedb.com>
Cc: pgsql-hackers@postgreSQL.org
Date: 2008-06-27T16:35:16Z
Lists: pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes: > Could autovacuum emit log messages as soon as it sees such tables and start > dropping them at some point later? We might have to rearrange the logic a bit to make that happen (I'm not sure what order things get tested in), but a log message does seem like a good idea. I'd go for logging anytime an orphaned table is seen, and dropping once it's past the anti-wraparound horizon. regards, tom lane