Skip to content

Commit dbdb217

Browse files
committed
Add C comment that IsBackendPid() is called by external modules, so we
don't accidentally remove it.
1 parent ece2698 commit dbdb217

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/storage/ipc/procarray.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,6 +1929,8 @@ BackendXidGetPid(TransactionId xid)
19291929

19301930
/*
19311931
* IsBackendPid -- is a given pid a running backend
1932+
*
1933+
* This is not called by the backend, but is called by external modules.
19321934
*/
19331935
bool
19341936
IsBackendPid(int pid)

0 commit comments

Comments
 (0)