]> granicus.if.org Git - postgresql/commitdiff
Add C comment that IsBackendPid() is called by external modules, so we
authorBruce Momjian <bruce@momjian.us>
Mon, 1 Oct 2012 14:14:35 +0000 (10:14 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 1 Oct 2012 14:14:35 +0000 (10:14 -0400)
don't accidentally remove it.

src/backend/storage/ipc/procarray.c

index 984c2861cc6b1df350d274fe15c522122c67a690..d38164caa7358cf0f73656e11484a7e8463d8a61 100644 (file)
@@ -1929,6 +1929,8 @@ BackendXidGetPid(TransactionId xid)
 
 /*
  * IsBackendPid -- is a given pid a running backend
+ *
+ * This is not called by the backend, but is called by external modules.
  */
 bool
 IsBackendPid(int pid)