From: Bruce Momjian Date: Mon, 1 Oct 2012 14:14:35 +0000 (-0400) Subject: Add C comment that IsBackendPid() is called by external modules, so we X-Git-Tag: REL9_3_BETA1~859 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbdb2172a0940cc18985a0c2b20cdb002fdf8466;p=thirdparty%2Fpostgresql.git Add C comment that IsBackendPid() is called by external modules, so we don't accidentally remove it. --- diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index 984c2861cc6..d38164caa73 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -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)