Re: Running PostgreSQL on Windows

From: "joek hondius" <jhondius(at)rem(dot)nl>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Running PostgreSQL on Windows
Date: 2003-10-21 08:07:54
Message-ID: BPEGLGNPDJFJPGEFPMNGEEGDFAAA.jhondius@rem.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi.
Nice pages on installing PostgreSQL on windows..

Here's an additional tip.
1) Before installing as a service add user "postgres" to your system, the
windows way.
you will use this to run ipc deamon and postmaster under.
ipc-deamon will be set so that it will only accept calls from postgres.
start -> run.. -> lusrmgr.msc, OK (on a non ActiveDir machine that is)
2) This user postgres needs special rights: Log on as a service. do:
start -> run.. -> secpol.msc, OK -> and postgres user to the right.
3) use the tigt-security option and install both services under postgres
account. example:
cygrunsrv.exe --install ipc-daemon --desc "IPC Server for Postmaster
Service" --path /bin/ipc-daemon.exe \
--user postgres --passwd${pgpass} --args --tight-security
cygrunsrv.exe --install postmaster --desc "PostgreSQL Database Management
System Service" \
--path /bin/postmaster --args "-D /data -i" --dep ipc-daemon --termsig
INT --user postgres --passwd ${pgpass}
4) Restrict file permissions on the "data" dir to postgres user.

Joek

--- original message ----
Hi all

Maybe this will help:
http://www.jhauser.com/index.php?src=pgwin32

Regards
Conni

Browse pgsql-cygwin by date

  From Date Subject
Next Message Akhona Damane 2003-10-21 09:35:08 Re: starting postmaster W2K service
Previous Message anilkumar 2003-10-21 07:08:40 Problem: unable to uninstall CYGWIN-IPC DAEMON after uninstalling PostgreSQL