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

Autocomplete problems when using table alias #62

Open
fmorroni opened this issue Apr 25, 2024 · 1 comment
Open

Autocomplete problems when using table alias #62

fmorroni opened this issue Apr 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fmorroni
Copy link

Hi, I'm having a similar problem as in this issue #25, but in my case it's not because there is a table with the same name as the alias.
For starters, it seems like alias completion doesn't work at all if I start dbui in a .sql buffer. It only work if I start it with a new query, after that it also works in the buffer.
But even when it works, it works on some tables and not others, even given the same alias.

For example:
image
For table inscripciones.alumno completions work fine.

image
For curso too.

image
But for inscripcion it gives me hundreds of completions. It appears like it gives me completions for all of the schema and table names in the database (including all of the ones inside the pg_catalog schema).

image

If I start typing one of the inscripcion table columns it does find it, but it's pretty much useless at that point...
image

The same happens for one of the tables in another one of the schemas. I have no clue what is the trigger, but it happens always for the same tables across all sessions as far as I can tell.

Copy link

stale bot commented Jan 31, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stalled label Jan 31, 2025
@kristijanhusak kristijanhusak added bug Something isn't working and removed stalled labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants