C comment: explain procArray->pgprocnos[]
Reported-by: Aleksander Alekseev Discussion: https://postgr.es/m/CAJ7c6TOs9Dh3KNR2kiQJ3Ow0=TBucL_57DAbm--2p8w5x_8YXQ@mail.gmail.com Author: Aleksander Alekseev Backpatch-through: master
This commit is contained in:
parent
776e1c8a5d
commit
434c6cdf0c
|
@ -193,7 +193,11 @@ struct PGPROC
|
|||
|
||||
int pgxactoff; /* offset into various ProcGlobal->arrays with
|
||||
* data mirrored from this PGPROC */
|
||||
int pgprocno;
|
||||
|
||||
int pgprocno; /* Number of this PGPROC in
|
||||
* ProcGlobal->allProcs array. This is set
|
||||
* once by InitProcGlobal().
|
||||
* ProcGlobal->allProcs[n].pgprocno == n */
|
||||
|
||||
/* These fields are zero while a backend is still starting up: */
|
||||
BackendId backendId; /* This backend's backend ID (if assigned) */
|
||||
|
|
Loading…
Reference in New Issue