summaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r--src/backend/commands/async.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index ec750b2781..53afd77d1b 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -83,7 +83,6 @@
#include "commands/async.h"
#include "libpq/libpq.h"
#include "libpq/pqformat.h"
-#include "libpq/pqsignal.h"
#include "miscadmin.h"
#include "storage/ipc.h"
#include "tcop/tcopprot.h"
@@ -498,7 +497,7 @@ AtCommit_Notify(void)
* for some reason. It's OK to send the signal first, because
* the other guy can't read pg_listener until we unlock it.
*/
- if (pqkill(listenerPID, SIGUSR2) < 0)
+ if (kill(listenerPID, SIGUSR2) < 0)
{
/*
* Get rid of pg_listener entry if it refers to a PID that