diff options
author | Neil Conway <neilc@samurai.com> | 2005-10-06 21:30:39 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-10-06 21:30:39 +0000 |
commit | f59175d72ff9b31b4bb486e5396815636abbcfe0 (patch) | |
tree | 85e2593accd858827f4aa30f28cc01b9a657c6fb /src/include/commands/async.h | |
parent | 663476919c9f14c07bc367e564c62fca1e1ef0fe (diff) | |
download | postgresql-f59175d72ff9b31b4bb486e5396815636abbcfe0.tar.gz postgresql-f59175d72ff9b31b4bb486e5396815636abbcfe0.zip |
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.
Diffstat (limited to 'src/include/commands/async.h')
-rw-r--r-- | src/include/commands/async.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |