Skip to content

Autocomplete problems when using table alias #62

@fmorroni

Description

@fmorroni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions