PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16187
PG Version12.1
Opened2020-01-06 03:02:20+00
Reported byJian Zhang

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16187
Logged by:          Jian Zhang
Email address:      (redacted)
PostgreSQL version: 12.1
Operating system:   Linux

We checked the code in file “parallel.c” and there is one error occurring in
line 1606. This error is caused by the usage of variable with undefined
value. The code in this line is “FD_SET(pstate->parallelSlot[i].pipeRead,
&workerset);”. The pointer “pstate” is an input parameter of function
“getMessageFromWorker” and has never changed before line 1606. The program
should check the effectiveness of input parameter “pstate” to avoid this


2020-01-06 03:02:20+00PG Bug reporting formBUG #16187: The usage of undefined value in parallel.c