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 · 0 comments
Open

Autocomplete problems when using table alias #62

fmorroni opened this issue Apr 25, 2024 · 0 comments

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.

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