Thanks for your replay Scott,
I am using just sql script
and there is no option like pwd with createuser command
With Regards
Ashish...
----- Original Message -----
From: "Scott Marlowe" <[EMAIL PROTECTED]>
To: "Ashish Karalkar" <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2007 11:17 AM
Subject: Re: [GENERAL] assigning password from script
On 7/2/07, Ashish Karalkar <[EMAIL PROTECTED]> wrote:
Hello All,
I want to create a user through script and dont want user to assign
password
interactively, I want it to be assigned through some file or anything
else
some this like
createuser -P ***** OR createuser -P <file >
Is there any way?
What scripting language are you using?
in bash you can do something like:
pwd=`cat /home/pgsql/password`
to get it.
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match