cd C:\Opt\pgsql
mkdir C:\Opt\pgsql\log
bin\initdb.exe -U postgres -A password -E utf8 -W -D C:\Opt\pgsql\data
bin\pg_ctl.exe -D „C:/Opt/pgsql/data“ -l „C:/Opt/pgsql/log/pgsql.log“ start
bin\createuser.exe -U postgres -P
bin\createdb.exe -U postgres -e HQ
C:\Opt\server-4.6.6\bin\hq-server.bat install