View Single Post

   
  #1 (permalink)  
Old 04-10-2008, 06:31 AM
Johnson Zhao
 
Posts: n/a
Default Problems when initdb on WinXP with SP2.

Hi,

I use Postgresql 8.03/ 8.04 on windows xp with sp2, all have same problems.

run the windows cmd by:

runas /userostgres 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'm newbie at postgresql, anyone can give me some help, thanks a lot.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote