Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Update table view based on the selected postgres db#554

Open
gaborpongracz wants to merge 1 commit intodbgate:masterfrom
gaborpongracz:update-postgres-plugin
Open

Update table view based on the selected postgres db#554
gaborpongracz wants to merge 1 commit intodbgate:masterfrom
gaborpongracz:update-postgres-plugin

Conversation

@gaborpongracz
Copy link

@gaborpongracz gaborpongracz commented May 9, 2023

As far as I see, in case of Postgres plugin, dbgate TABLES, VIEWS, FUNCTIONS section not updated based on the selected postgres DB, but showing all the available table from all the databases within the postgres instance.

Adding the #DATABASE# filter into the tableList.sql this problem could solved.

@janproch Could you check this out? Should I update other queries with this WHERE clause too?

@gaborpongracz
Copy link
Author

I've just checked the latest version with server/port/user/pwd configuration instead of the database_url and seems working like a charm. So not the sql was the real issue but the connection with db url. Should I create an issue for this and close this PR?

@janproch
Copy link
Member

Maybe there is not specified database in dburl? If you provide dburl with database specified, does it work correctly?

@mbrevda
Copy link
Contributor

mbrevda commented Jun 25, 2023

seeing this too: when connecting with a URL string I cannot see tables, etc, of a db with a large-ish (100+) list of db's. Smaller db servers seem to be working ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants