Re: Bug in Database Nodes in the Tree

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Bug in Database Nodes in the Tree
Дата
Msg-id CA+OCxowEOHKTWWb59UzJ5o338OaUGwLR7+SyX0cPbb3+F2rAYg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug in Database Nodes in the Tree  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Ответы Re: Bug in Database Nodes in the Tree  (Yosry Muhammad <yosrym93@gmail.com>)
Список pgadmin-hackers


On Tue, Jul 23, 2019 at 4:15 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:


On Tue, Jul 23, 2019 at 2:17 AM Yosry Muhammad <yosrym93@gmail.com> wrote:
Hi,

I tried just removing the lines responsible for connecting to the database on selecting a database node and it seem to work fine. Specifically the lines 254-257 in database.js (callbacks.selected function).

Are there any specific scenarios I need to test to make sure everything is okay? Anywhere else in the code where I need to make changes?

I think all the right side panels (i.e. Properties, SQL, etc...) will be affected. 

They're populated on select. It may mean that we have to show a "Please connect to the server" message in them, if a database or server is selected but not connected.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Ganesh Jaybhay
Дата:
Сообщение: [pgAdmin][RM4490] Checkbox doesn't highlight on focus in IE11
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Fix projection of pg_type for Greenplum query