aboutsummaryrefslogtreecommitdiff
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index a9923341147..f12b3a9f138 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -507,7 +507,7 @@ AsyncShmemInit(void)
LWLockAcquire(AsyncCtlLock, LW_EXCLUSIVE);
slotno = SimpleLruZeroPage(AsyncCtl, QUEUE_POS_PAGE(QUEUE_HEAD));
/* This write is just to verify that pg_notify/ is writable */
- SimpleLruWritePage(AsyncCtl, slotno, NULL);
+ SimpleLruWritePage(AsyncCtl, slotno);
LWLockRelease(AsyncCtlLock);
}
}