"Johnson Zhao" <[EMAIL PROTECTED]> wrote
>
> run the windows cmd by:
>
> runas /user:postgres cmd
>
> and run the initdb program like:
>
> initdb --locale=C --username=postgres -W -A md5 -E UNICODE -D ../data
>
> then it says:
>
> creating directory ../data/ ... ok
> creating directory ../data/global ... ok
> creating directory ../data/pg_xlog ... ok
> creating directory ../data/pg_xlog/archive_status ... ok
> creating directory ../data/pg_clog ... ok
> creating directory ../data/pg_subtrans ... ok
> creating directory ../data/base ... ok
> creating directory ../data/base/1 ... ok
> creating directory ../data/pg_tblspc ... ok
> selecting default max_connections  ....
>
> and the command window stayed there!
>

I can't reproduce your problem. Did you set some odd permission to user 
"postgres"? Let's simplify it first, is there any problem if you login to 
windows as "postgres" first, then do your initdb?

Regards,
Qingqing 



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to