Re: PostgreSQL 7.3.2 running as NT service under Windows XP

From: Jason Tishler <jason(at)tishler(dot)net>
To: Frank Seesink <frank(at)mail(dot)wvnet(dot)edu>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: PostgreSQL 7.3.2 running as NT service under Windows XP
Date: 2003-05-30 21:22:21
Message-ID: 20030530212220.GE1860@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Frank,

On Thu, May 29, 2003 at 02:26:03PM -0400, Frank Seesink wrote:
> Thanks. This script beats my hack by a mile. Much cleaner.

Except that it hangs when the service is stopped. :,(

I even tried running postmaster in the background and waiting on it.
Unfortunately, I believe that there is a bug in Cygwin that prevents the
signal from being delivered to the shell script until the wait returns.
Kind of a catch 22...

See the attached for my latest attempt.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

Attachment Content-Type Size
postmaster.sh application/x-sh 176 bytes

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jeff Lu 2003-05-30 21:27:39 How do I encrypt a field in postgresql?
Previous Message Sean McCune 2003-05-30 16:38:05 Re: PostgreSQL 7.3.2 running as NT service under Windows XP