From f59175d72ff9b31b4bb486e5396815636abbcfe0 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 6 Oct 2005 21:30:39 +0000 Subject: Minor API cleanup for async notifications: we can only register the current backend in pg_listener, so there is little point in making the PID to register part of async.c's public API. Other minor tweaks. --- src/include/commands/async.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include/commands/async.h') diff --git a/src/include/commands/async.h b/src/include/commands/async.h index b893771b0f7..7844043f548 100644 --- a/src/include/commands/async.h +++ b/src/include/commands/async.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/async.h,v 1.28 2005/06/17 22:32:49 tgl Exp $ + * $PostgreSQL: pgsql/src/include/commands/async.h,v 1.29 2005/10/06 21:30:39 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -16,9 +16,9 @@ extern bool Trace_notify; /* notify-related SQL statements */ -extern void Async_Notify(char *relname); -extern void Async_Listen(char *relname, int pid); -extern void Async_Unlisten(char *relname, int pid); +extern void Async_Notify(const char *relname); +extern void Async_Listen(const char *relname); +extern void Async_Unlisten(const char *relname); /* perform (or cancel) outbound notify processing at transaction commit */ extern void AtCommit_Notify(void); -- cgit v1.2.3