Hi, On 2020-07-29 13:41:02 +1200, Thomas Munro wrote: > One practical problem with this change is that some systems have a > stub definition of pthread_sigmask() that does nothing, when you don't > link against the threading library. Realistically, most *useful* > builds of PostgreSQL bring it in indirectly (via SSL, LDAP, blah > blah), but it so happens that a bare bones build and make check on > this here FreeBSD box hangs in CHECK DATABASE waiting for the > checkpointer to signal it. I can fix that by putting -lthr into > LDFLAGS, so we'd probably have to figure out how to do that on our > supported systems.
Couldn't this be driven by --disable-thread-safety? Greetings, Andres Freund