* Tom Lane <[EMAIL PROTECTED]> [2008-03-17 14:44]:
> "Mika Fischer" <[EMAIL PROTECTED]> writes:
> > I'm currently working on the bash-completion package. The problem with
> > postgresql is that psql cannot safely be called because there is no way to
>
* Alvaro Herrera <[EMAIL PROTECTED]> [2008-03-17 15:43]:
> Hmm, why do you need to connect to a database? Some time ago I came up
> with this:
>
> _postgres()
> {
> local cur;
> COMPREPLY=()
> cur=${COMP_WORDS[COMP_CWORD]}
> prev=${COMP_WORDS[COMP_CWORD-1]}
>
* Tom Lane <[EMAIL PROTECTED]> [2008-03-17 15:28]:
> Mika Fischer <[EMAIL PROTECTED]> writes:
> > What the current code does is:
> > Run "psql -l" to get the list of local databases, and
> > run "psql -qtc 'select usename from pg_user'
The following bug has been logged online:
Bug reference: 4040
Logged by: Mika Fischer
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.3.0
Operating system: Ubuntu Linux 8.4 beta
Description:psql should provide option to not prompt for password
Details:
Hi