Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update table view based on the selected postgres db #554

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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.

None yet

3 participants