Обсуждение: How to stop properly Postmaster NT Service

Поиск
Список
Период
Сортировка

How to stop properly Postmaster NT Service

От
Bonefoy Rémi
Дата:
First of all, i would like to thank you for your very good job in this
mailing list.

I have installed Postgres7.1 as an NT service (NT4 sp6). After a lot of
instalation
problems, now, it runs nicely (i have re-compiled postgres with my own
options
and noticed that ipc-daemon starts better when it is installed via Invoker
instead
of its own invocation --install-as-service).

My problem is that Postgres don't stop correctly when it is installed as a
NT
service.

At the boot time, it find the file /usr/share/postgresql/postmaster.pid and
fails.

When i worked with the 7.03 version, postmaster failed only when it started
before ipc-daemon. Except this case, it started very nicely.

I read the Fred Yankowski discussion on this subject :

http://www.postgresql.uli.it/mhonarc/pgsql-ports/2001-04/msg00138.html

and saw that it was in developpement.

So i'm wondering if removing the file /usr/share/postgresql/postmaster.pid
at the boot
time is a good thing to start Postmaster or if  i should return to the 7.03
version (good
bye outer join !!).

Have you a tip to stop properly postmaster NT service or i have to wait for
a new
version ? (I would proposed myself for developping this function but my C++
is so
bad, like my english :-) )

Rémi Bonefoy