Re: how to create new user - Mailing list pgsql-admin

From Magnus Hagander
Subject Re: how to create new user
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0F807@algol.sollentuna.se
Whole thread Raw
In response to how to create new user  (Mohamed Fazil <mohdfazil_p_a@yahoo.com>)
List pgsql-admin
> Hello all,
>
> I am trying to install PG through a program for which i need
> to create a user on Windows programmatically. As I understand
> the Postgres installer does a similar thing. Can someone help
> me with the commands/exe that can be used on Windows 2k,XP,2003.

If you want to create a user from the commandline, try "net user /help".
If you want to create it from a C program, look at the source to
pginstaller, available on pgfoundry.org/projects/pginstaller.

//Magnus

pgsql-admin by date:

Previous
From: Mario Splivalo
Date:
Subject: pg_diff, or something like it...?
Next
From: Ashley Moran
Date:
Subject: REINDEX during a transaction