mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Another little 'must fix' for 6.5.2: someone removed HAVE_KILL
from the configuration symbols, but neglected to remove #ifdef HAVE_KILL from async.c in the REL6_5 branch. Result: cross-backend NOTIFY dead in the water.
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.47.2.1 1999/08/02 05:56:57 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.47.2.2 1999/09/14 22:33:35 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@@ -510,7 +510,6 @@ AtCommit_Notify()
|
|||||||
* signal first, because the other guy can't read
|
* signal first, because the other guy can't read
|
||||||
* pg_listener until we unlock it.
|
* pg_listener until we unlock it.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_KILL
|
|
||||||
if (kill(listenerPID, SIGUSR2) < 0)
|
if (kill(listenerPID, SIGUSR2) < 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -526,7 +525,6 @@ AtCommit_Notify()
|
|||||||
heap_delete(lRel, &lTuple->t_self, NULL);
|
heap_delete(lRel, &lTuple->t_self, NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
d = heap_getattr(lTuple, Anum_pg_listener_notify,
|
d = heap_getattr(lTuple, Anum_pg_listener_notify,
|
||||||
tdesc, &isnull);
|
tdesc, &isnull);
|
||||||
|
Reference in New Issue
Block a user