Re: Disconnect from all dbs

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Didier Gasser-Morlay <didiergm(at)gmail(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Disconnect from all dbs
Date: 2019-09-30 10:30:02
Message-ID: CAFOhELdanpfKiKEYqn9=V32vo_MNCBipeQLF7K6Nih3_epxYfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

On Mon, Sep 30, 2019 at 3:38 PM Didier Gasser-Morlay <didiergm(at)gmail(dot)com>
wrote:

> I tried that already but unfortunately when you reconnect the server all
> previously connected dbs will reconnect along with the display layout they
> were in (how much the tree below the db was expanded)
>
> When you click on the database node, then it will connect (except the
maintenance database) and expand the tree view. You can also disable the
automatic tree expanding feature by setting the value of File >
Preferences > Browser tree state saving interval to -1.

> what I would like is a way to "close" or disconnect from all opened dbs
> and collapse the tree view for each individual db
>
Still you think your requirement doesn't match then create the feature
request for the same @ https://redmine.postgresql.org/projects/pgadmin4

Thanks,
Khushboo

>
> On Mon, 30 Sep 2019 at 10:28, Khushboo Vashi <
> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>>
>>
>> On Mon, Sep 30, 2019 at 1:51 PM Didier Gasser-Morlay <didiergm(at)gmail(dot)com>
>> wrote:
>>
>>> Hi all,
>>>
>>> On my development machine I keep 40+ databases and during a typical day
>>> I will open several of them to answer support calls or carry on
>>> development.
>>>
>>> Although I can disconnect from individual db one by one it is a tad slow
>>> process so I would love to be able to disconnect from all open
>>> databases on a server in one go, but could not find how to do it.
>>>
>>> Is that possible ?
>>>
>>> All the connected databases will be disconnected if you just disconnect
>> the server itself.
>>
>>> have a good day
>>> Didier
>>>
>>>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Arni Kromić 2019-10-10 10:20:08 Restore item in server menu (suggestion)
Previous Message Didier Gasser-Morlay 2019-09-30 10:07:53 Re: Disconnect from all dbs