Josef Springer <Josef(dot)Springer(at)JOOPS(dot)COM> writes:
> i want to use psql using the --username option. But i do not find an
> option to pass the password.
There are very good reasons for that.
> I want to use psql in a batch, so i want to automate it.
Consider using a ~/.pgpass file.
regards, tom lane