aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/utility.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-10-06 21:30:39 +0000
committerNeil Conway <neilc@samurai.com>2005-10-06 21:30:39 +0000
commitf59175d72ff9b31b4bb486e5396815636abbcfe0 (patch)
tree85e2593accd858827f4aa30f28cc01b9a657c6fb /src/backend/tcop/utility.c
parent663476919c9f14c07bc367e564c62fca1e1ef0fe (diff)
downloadpostgresql-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/backend/tcop/utility.c')
-rw-r--r--src/backend/tcop/utility.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 10256bbb327..dd89832da89 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.243 2005/08/01 04:03:57 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.244 2005/10/06 21:30:36 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -823,7 +823,7 @@ ProcessUtility(Node *parsetree,
{
ListenStmt *stmt = (ListenStmt *) parsetree;
- Async_Listen(stmt->relation->relname, MyProcPid);
+ Async_Listen(stmt->relation->relname);
}
break;
@@ -831,7 +831,7 @@ ProcessUtility(Node *parsetree,
{
UnlistenStmt *stmt = (UnlistenStmt *) parsetree;
- Async_Unlisten(stmt->relation->relname, MyProcPid);
+ Async_Unlisten(stmt->relation->relname);
}
break;