pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Cannot drop database because of AUTOVACUUM 2+ messages / 2 participants [nested] [flat]
* Cannot drop database because of AUTOVACUUM @ 2011-12-24 12:06 Daniel Migowski <dmigowski@ikoffice.de> 0 siblings, 1 reply; 2+ messages in thread From: Daniel Migowski @ 2011-12-24 12:06 UTC (permalink / raw) To: pgsql-bugs Hello, I have a rare problem. I just restored a large database, and found out I made an error. Now I want to drop it, but can't do it because of the autovacuum process, running for minutes now, which i don't want to kill. Isn't it possible to stop it from running if this is the only process connected to a database when I want to drop it? Regards, Daniel Migowski ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Cannot drop database because of AUTOVACUUM @ 2011-12-24 14:39 Tom Lane <tgl@sss.pgh.pa.us> parent: Daniel Migowski <dmigowski@ikoffice.de> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2011-12-24 14:39 UTC (permalink / raw) To: Daniel Migowski <dmigowski@ikoffice.de>; +Cc: pgsql-bugs Daniel Migowski <dmigowski@ikoffice.de> writes: > I have a rare problem. I just restored a large database, and found out I made an error. Now I want to drop it, but can't do it because of the autovacuum process, running for minutes now, which i don't want to kill. Um ... if you're going to drop the database, why would you care about letting an autovacuum complete? Its work would only be thrown away anyway. > Isn't it possible to stop it from running if this is the only process connected to a database when I want to drop it? An autovacuum process should get killed automatically if you issue a DROP against its database (or table, for that matter). If there's a bug here, you've not explained what it is. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-12-24 14:39 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2011-12-24 12:06 Cannot drop database because of AUTOVACUUM Daniel Migowski <dmigowski@ikoffice.de> 2011-12-24 14:39 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox