[ADMIN] Creating role using batch file in windows

2010-10-25 Thread Lukasz Brodziak
Hello, What I need to do is create a batch file to be sent to client in which I have to perform create role statement. Best thing would be if the user didn't see what is happening in the console (is there a @echo off equivalent for psql). Can anyone help me with this. -- Ɓukasz Brodziak -- Sen

Re: [ADMIN] Creating role using batch file in windows

2010-10-25 Thread Thomas Kellerer
Lukasz Brodziak, 25.10.2010 15:49: Hello, What I need to do is create a batch file to be sent to client in which I have to perform create role statement. Best thing would be if the user didn't see what is happening in the console (is there a @echo off equivalent for psql). Can anyone help me wit

Re: [ADMIN] Creating role using batch file in windows

2010-10-25 Thread Lukasz Brodziak
One more question. Does the SET PGPASSWORD sets pass for the role? If not how to set the password for the role using the script provided. 2010/10/25 Thomas Kellerer : > Lukasz Brodziak, 25.10.2010 15:49: >> >> Hello, >> >> What I need to do is create a batch file to be sent to client in which >> I

Re: [ADMIN] Creating role using batch file in windows

2010-10-26 Thread Thomas Kellerer
Lukasz Brodziak, 26.10.2010 08:58: The problem with a batch file is that you will need to provide the password for the superuser in clear text - which is probably not something you will want to do. But if that isn't a problem (and you actually know the superuser password of your client) then the