complete -x -c psql -d 'database name' -a "(__db_list_pg | uniq)"