Skip site navigation (1) Skip section navigation (2)

Re: jdbc and unix signals

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Nikk Anderson <Nikk(dot)Anderson(at)parallel(dot)ltd(dot)uk>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc and unix signals
Date: 2001-07-11 21:19:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Run your program using nohup.  In general java programs don't get unix

> Nikk Anderson wrote:
> Hi,
> I am using the postgres jdbc which was compiled on Solaris as part of
> the postgres 7.1 installation.
> I have a program which runs as a deamon, and connects to postgres for
> data.  As it is running as a deamon, we have included some signal
> handling routines.  We are trying to trap HUP (kill -1)  signals, so
> that the process will not exit when that signal is sent.
> If the program uses the jdbc driver, then the program can not catch
> the HUP signal - however, if we do NOT use the jdbc at all, then we
> can trap the signal and deal with it as we wish.
> Does the postgres driver catch the signals, thus overiding my attempts
> to catch them?
> Any ideas
> Thanks
> Nikk Anderson

Joseph Shraibman
Increase signal to noise ratio.

In response to

pgsql-jdbc by date

Next:From: MarkDate: 2001-07-11 21:39:15
Subject: vacuum and 24/7 uptime
Previous:From: Jörg SommerDate: 2001-07-11 19:43:51
Subject: Methode is not yet implemented.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group