Re: Data race in interfaces/libpq/fe-exec.c

2020-01-31 Thread Mark Charsley
and get a fix in upstream... Mark On Thu, Jan 30, 2020 at 4:46 PM Tom Lane wrote: > Mark Charsley writes: > > This line > > > https://github.com/postgres/postgres/blob/30012a04a6c8127397a8ab71e160d9c7e7fbe874/src/interfaces/libpq/fe-exec.c#L1073 > > triggers data race error

Data race in interfaces/libpq/fe-exec.c

2020-01-30 Thread Mark Charsley
This line https://github.com/postgres/postgres/blob/30012a04a6c8127397a8ab71e160d9c7e7fbe874/src/interfaces/libpq/fe-exec.c#L1073 triggers data race errors when run under ThreadSanitizer (*) As far as I can tell, the static variable in question is a hack to allow a couple of deprecated functions t