pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove configure-time thread safety checking (thread_test.c). 2+ messages / 1 participants [nested] [flat]
* pgsql: Remove configure-time thread safety checking (thread_test.c). @ 2021-07-24 16:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2021-07-24 16:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d5e913a81cbab063c53b0a06dc8894da89390676 Modified Files -------------- config/thread_test.c | 437 --------------------------------------------------- configure | 194 +++++------------------ configure.ac | 38 +---- 3 files changed, 43 insertions(+), 626 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Remove configure-time thread safety checking (thread_test.c). @ 2021-07-24 16:16 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2021-07-24 16:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/76fa3db33654e543b5c796e28c6fc5b505a19c2a Modified Files -------------- config/thread_test.c | 433 --------------------------------------------------- configure | 194 +++++------------------ configure.ac | 38 +---- 3 files changed, 43 insertions(+), 622 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-07-24 16:16 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-07-24 16:16 pgsql: Remove configure-time thread safety checking (thread_test.c). Tom Lane <tgl@sss.pgh.pa.us> 2021-07-24 16:16 pgsql: Remove configure-time thread safety checking (thread_test.c). Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox