[Bash-completion-devel] [bash-completion-Bugs][312914] _pg_databases buggy
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Thu Jan 6 22:50:38 UTC 2011
Bugs item #312914, was opened at 06.01.2011 23:50 by Peter Eisentraut
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312914&group_id=100114
Status: Open
Priority: 3
Submitted By: Peter Eisentraut (petere)
Assigned to: Nobody (None)
Summary: _pg_databases buggy
Distribution: Debian
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
I know it's disabled, but if a user ever enables it, you get completions like this:
| foo peter postgres template0
Note the pipe, from a failed attempt to parse apart the psql -l listing. Use this instead:
psql -A -t -l | cut -d '|' -f 1
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312914&group_id=100114
More information about the Bash-completion-devel
mailing list