From 0b8543e6ddb7657cb8a953d5860c6c238afee2b5 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Sat, 7 Jun 2025 20:50:54 +0700 Subject: [PATCH] thread safety for pgsql? --- src/SPC/builder/unix/library/postgresql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/builder/unix/library/postgresql.php b/src/SPC/builder/unix/library/postgresql.php index 5a0da5de..acddc14f 100644 --- a/src/SPC/builder/unix/library/postgresql.php +++ b/src/SPC/builder/unix/library/postgresql.php @@ -91,7 +91,7 @@ trait postgresql ->execWithEnv( "{$envs} ../configure " . "--prefix={$builddir} " . - '--disable-thread-safety ' . + ($this->builder->getOption('enable-zts') ? '--enable-thread-safety ' : '--disable-thread-safety ') . '--enable-coverage=no ' . '--with-ssl=openssl ' . '--with-readline ' .