From 912d8f2647802d8fe6f898743c0bc3b74bcf9da2 Mon Sep 17 00:00:00 2001 From: Serge Rider Date: Wed, 6 Feb 2019 18:33:27 +0300 Subject: [PATCH] PG: do not show non-default databses by default --- .../jkiss/dbeaver/ext/postgresql/model/PostgreDataSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreDataSource.java b/plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreDataSource.java index 2ca900a270..f3e7ccf76b 100644 --- a/plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreDataSource.java +++ b/plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreDataSource.java @@ -98,7 +98,7 @@ public class PostgreDataSource extends JDBCDataSource implements DBSObjectSelect databaseCache = new DatabaseCache(); DBPConnectionConfiguration configuration = getContainer().getActualConnectionConfiguration(); - final boolean showNDD = CommonUtils.getBoolean(configuration.getProviderProperty(PostgreConstants.PROP_SHOW_NON_DEFAULT_DB), true); + final boolean showNDD = CommonUtils.getBoolean(configuration.getProviderProperty(PostgreConstants.PROP_SHOW_NON_DEFAULT_DB), false); List dbList = new ArrayList<>(); if (!showNDD) { PostgreDatabase defDatabase = new PostgreDatabase(monitor, this, activeDatabaseName); -- GitLab