On Fri, 2008-09-19 at 09:11 +0200, A B wrote:
> createuser myuser
> but I want to supply a password on the command line, is that possible?
> The docs tells me no, but does anyone know of a workaround?
psql mydb -c "ALTER ROLE myrole WITH ENCRYPTED PASSWORD mypass"
could work, I think.
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
In response to
pgsql-novice by date
|Next:||From: Wright, George||Date: 2008-09-24 13:14:04|
|Subject: query executions|
|Previous:||From: Sean Davis||Date: 2008-09-19 16:53:37|
|Subject: Re: Moving data from one set of tables to another?|