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

incorrect database information displayed -postgresql #198

Open
cmhatche23 opened this issue Apr 5, 2021 · 0 comments
Open

incorrect database information displayed -postgresql #198

cmhatche23 opened this issue Apr 5, 2021 · 0 comments

Comments

@cmhatche23
Copy link

Hi,

I'm able to connect to a postgresql database using data-atom, and successfully run queries, but when toggling the database information, it doesn't seem to understand which database i'm connected to.

The connection/session itself, postgres@localhost, has two databases.
Despite being able to run queries on the database that actually contains tables ('leetcode'), the data information display incorrectly shows me being only connected to 'postgres' (aka the default administrative connection database). And FYI, the 'postgres' database does not contain data, so clicking on the arrow next to the database in the 'database info' menu does not show any tables.

This is the structure of the session seen using DataGrip:

Screen Shot 2021-04-04 at 7 23 11 PM

Compared to Atom:
Screen Shot 2021-04-04 at 7 27 57 PM

To be clear, these are identical connections, with discrepant information displayed in the panes.

I double-checked the connection information by going to:
'Packages' > 'Data Atom' > 'edit connections'

and the database connection information is correctly entered. I'm able to run queries as if I'm connected to the 'leetcode' database, so i know i'm connected. The database info pane just doesn't correctly display the active database (and table structure) information based on what I'm actually connected to.

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

No branches or pull requests

1 participant