File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 26
26
/*
27
27
* List of background workers, private to postmaster.
28
28
*
29
- * A worker that requests a database connection during registration will have
30
- * rw_backend set, and will be present in BackendList. Note: do not rely on
31
- * rw_backend being non-NULL for shmem-connected workers!
29
+ * All workers that are currently running will have rw_backend set, and will
30
+ * be present in BackendList.
32
31
*/
33
32
typedef struct RegisteredBgWorker
34
33
{
35
34
BackgroundWorker rw_worker ; /* its registry entry */
36
- struct bkend * rw_backend ; /* its BackendList entry, or NULL */
35
+ struct bkend * rw_backend ; /* its BackendList entry, or NULL if not
36
+ * running */
37
37
pid_t rw_pid ; /* 0 if not running */
38
38
int rw_child_slot ;
39
39
TimestampTz rw_crashed_at ; /* if not 0, time it last crashed */
You can’t perform that action at this time.
0 commit comments