There doesn't seem to be a way to do this currently, since psql has no way to suppress the password prompt. However, there are a few developers who would like bash-completion to work, so maybe we'll see something in the next release that allows bash_completion to do this reliably.
But for the time being I'll have to disable the user and database completion since it can't be done reliably. ** Changed in: bash-completion (Ubuntu) Assignee: (unassigned) => Mika Fischer (zoop) Status: Confirmed => In Progress -- bash_completion fails for psql when databases require a password https://bugs.launchpad.net/bugs/164772 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs