Обсуждение: Feature request: threaded processes

Поиск
Список
Период
Сортировка

Feature request: threaded processes

От
Thom Brown
Дата:
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

Re: Feature request: threaded processes

От
Guillaume Lelarge
Дата:
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

Re: Feature request: threaded processes

От
Dave Page
Дата:
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