> Adding further
> The command line prompts for a login password, is there anyway of including
> that on the command line?
> CREATEUSER -D -A -e -l -S -R -h localhost -U postgre testname
I haven't worked with postgres under .Net, so perhaps a stupid
question, but is there any reason why you can't connect to the server
directly and send a create user command?
If that is not possible, then I assume you can redirect and read/write
to std-input/output of the process.
/Bent
Jens Henrik Leonhard Jensen - 07 Jun 2006 00:58 GMT
Se http://www.postgresql.org/docs/techdocs.8 for how to connect to
postgresql from .net.
After you have a connection, you can send the sql to create a new user.
/Jens Henrik
>> Adding further
>> The command line prompts for a login password, is there anyway of
[quoted text clipped - 9 lines]
>
> /Bent
Nevikski - 16 Jun 2006 08:27 GMT
Thanks, now sorted
> Se http://www.postgresql.org/docs/techdocs.8 for how to connect to
> postgresql from .net.
[quoted text clipped - 15 lines]
>>
>> /Bent