About "ALTER USER" command

From: " Mónica Ivonne Herrera Alonso " <miherrera(at)ucatolica(dot)edu(dot)co>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: About "ALTER USER" command
Date: 2006-07-26 14:30:57
Message-ID: 44C77CA1.000003.02468@DESARROLLO04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Good day for You.

I need to change password of the usuary POSTGRES using the commando "ALTER
USER". This change I must do it by means of a program .bat in “quiet” way.

I have the following instruction in .bat program :

psql -S "ALTER USER postgres WITH PASSWORD 'xxtyod';"

But when I execute this program, it requests user password to me.

It is possible that some commando exists who is due to place before so that
he does not request ANY password.

then, it would be thankful indicated to me what commands is used so that it
does not request any type of password nor of user. Solely that executes the
instruction that I mentioned to them previously.

Again, thanks for its valuable collaboration.

Sincerely ,

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2006-07-26 14:31:27 Re: Better name/syntax for "online" index creation
Previous Message Tom Lane 2006-07-26 14:26:01 Re: On-disk bitmap index patch