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

Re: pgsql/src backend/tcop/postgres.c include/misc ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Date: 2002-01-05 04:35:25
Message-ID: 9710.1010205325@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> Oh I see. But this seems to change the behabior significantly
> at least for die signals.

Well, it considerably reduces the number of places at which either
signal will be accepted, but that's exactly the point.  The code
as written was accepting the signals in many more places than we
envisioned in the original discussion, and I'm unconvinced that
that's safe.

AFAIK this should at worst increase the interrupt response time
from order-of-microseconds to order-of-milliseconds, so I'm not
especially worried.  Sub-second response time is plenty good enough
for either kind of interrupt, IMHO.

			regards, tom lane

In response to

Responses

pgsql-committers by date

Next:From: Hiroshi InoueDate: 2002-01-05 06:07:29
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Previous:From: Hiroshi InoueDate: 2002-01-05 04:34:20
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...

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