]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove configure-time thread safety checking (thread_test.c).
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Jul 2021 16:16:40 +0000 (12:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 24 Jul 2021 16:16:40 +0000 (12:16 -0400)
commitd5e913a81cbab063c53b0a06dc8894da89390676
treee61c3d3b92889db8fba5a31d7cb7ce731ffdb0bf
parent81322fc409743f9ef169cb7bd89b0d0113a0aaa1
Remove configure-time thread safety checking (thread_test.c).

This testing was useful when it was written, nigh twenty years ago,
but it seems fairly pointless for any platform built in the last
dozen or more years.  (Compare also the comments at 8a2121185.)
Also we now have reports that the test program itself fails under
ThreadSanitizer.  Rather than invest effort in fixing it, let's
just drop it, and assume that the few people who still care
already know they need to use --disable-thread-safety.

Back-patch into v14, for consistency with 8a2121185.

Discussion: https://postgr.es/m/CADhDkKzPSiNvA3Hyq+wSR_icuPmazG0cFe=YnC3U-CFcYLc8Xw@mail.gmail.com
config/thread_test.c [deleted file]
configure
configure.ac