Re: pgbench error: (setshell) of script 0; execution of meta-command failed
От | Fujii Masao |
---|---|
Тема | Re: pgbench error: (setshell) of script 0; execution of meta-command failed |
Дата | |
Msg-id | e03fc711-8c48-4fb8-ba94-0862c920c30f@oss.nttdata.com обсуждение исходный текст |
Ответ на | pgbench error: (setshell) of script 0; execution of meta-command failed (Andy Fan <zhihuifan1213@163.com>) |
Ответы |
Re: pgbench error: (setshell) of script 0; execution of meta-command failed
|
Список | pgsql-hackers |
On 2025/01/10 16:09, Andy Fan wrote: > Andy Fan <zhihuifan1213@163.com> writes: > >> Hi: >> >> I run into the {subject} issue with the below setup. >> >> cat foo.sql >> >> \setshell txn_mode echo ${TXN_MODE} >> \setshell speed echo ${SPEED} >> \setshell sleep_ms echo ${SLEEP_MS} >> \setshell subtxn_mode echo ${SUBTXN_MODE} >> >> select 1; >> >> $ TXN_MODE=-1 SPEED=1 SLEEP_MS=0 SUBTXN_MODE=-1 pgbench -n -ffoo.sql postgres -T5 -c4 --exit-on-abort >> >> I *randomly*(7/8) get errors like: >> >> pgbench (18devel) >> pgbench: error: client 2 aborted in command 0 (setshell) of script 0; execution of meta-command failed >> pgbench: error: Run was aborted due to an error in thread 0 Interestingly, my git bisect pointed to the following commit as the cause of this issue, even though it seems unrelated to the pgbench problem at all. It’s possible my git bisect result is incorrect, but when I reverted this commit on HEAD, the pgbench issue didn’t occur during my tests. ---------------------- 06843df4abc5a0c24e4bd154a8a1327e074fa3ae is the first bad commit commit 06843df4abc5a0c24e4bd154a8a1327e074fa3ae Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Fri Sep 29 14:07:30 2023 -0400 Suppress macOS warnings about duplicate libraries in link commands. ---------------------- Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
В списке pgsql-hackers по дате отправления: