Josef Springer <Josef.Springer@xxxxxxxxx> 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 ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq