aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-07-29 11:34:53 +0900
committerMichael Paquier <michael@paquier.xyz>2023-07-29 11:34:53 +0900
commitb68e356a680ee1155b0dc612a89655e98320121a (patch)
tree814145364f81bf440297273740d7c92ab62f0001 /src/backend/utils/adt/jsonpath.c
parent6d982e3b3bd4a3a26d18639b05ca1535c260e669 (diff)
downloadpostgresql-b68e356a680ee1155b0dc612a89655e98320121a.tar.gz
postgresql-b68e356a680ee1155b0dc612a89655e98320121a.zip
worker_spi: Fix race condition in newly-added TAP tests
The second portion of the tests had a race condition where it would be possible for the startup of the dynamic workers to fail, in the event where the static workers started before them with the library loading in shared_preload_libraries did not finish to create their respective schemas. The conflict is caused by the fact that the dynamic and static workers used the same IDs, overlapping each other, so, for now, switch the dynamic workers to use different IDs, leading to different schemas created. Reported-by: Andres Freund Discussion: https://postgr.es/m/20230728022332.egqzobhskmlf6ntr@awork3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions