Обсуждение: Feature request: threaded processes
I notice that pgAdmin often locks up while it's doing something, like vacuuming or restoring a database. Would it be possible to have this run in a separate thread instead of locking the whole app up? And maybe be minimisable so that it appears somewhere as a running task, allowing the user to do something else. Cheers Thom
Le 01/06/2010 16:45, Thom Brown a écrit : > I notice that pgAdmin often locks up while it's doing something, like > vacuuming or restoring a database. Would it be possible to have this > run in a separate thread instead of locking the whole app up? The maintenance dialog uses the same connection than the browser one in 1.10. It's fixed in 1.12. Restoring a database is done with pg_restore which uses its own connection. > And > maybe be minimisable so that it appears somewhere as a running task, > allowing the user to do something else. Could be interesting. Not done AFAICT. -- Guillaume http://www.postgresql.fr http://dalibo.com
On Tue, Jun 1, 2010 at 5:32 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote: > Le 01/06/2010 16:45, Thom Brown a écrit : >> I notice that pgAdmin often locks up while it's doing something, like >> vacuuming or restoring a database. Would it be possible to have this >> run in a separate thread instead of locking the whole app up? > > The maintenance dialog uses the same connection than the browser one in > 1.10. It's fixed in 1.12. > > Restoring a database is done with pg_restore which uses its own connection. And runs in an separate thread. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com The Enterprise Postgres Company