Re: pgbench error: (setshell) of script 0; execution of meta-command failed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgbench error: (setshell) of script 0; execution of meta-command failed
Дата
Msg-id 1143416.1736899081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgbench error: (setshell) of script 0; execution of meta-command failed  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> OK, I'll make it so.  Thanks for looking at it!

Or not.  My idea worked okay in v17, but not in older branches.
Pre-v17, libpq itself can call pqsignal (though only in non-
thread-safe builds).  With this patch, that would have resulted
in pulling src/port/pqsignal.o into libpq.  libpq itself is fine
with calling that version, but if a stub version of pqsignal()
comes along for the ride then we have two candidates for which
function will be exported.

It would probably be possible to fix that, say by making the
wrapper version be a separate .o module within libpgport.
But it would be more work and complication, and I couldn't
get excited about investing such effort for a hypothetical
build problem.  So I've pushed the patches as I originally
proposed them.  If anyone else is excited about doing something
more, step right up.

            regards, tom lane



В списке pgsql-hackers по дате отправления: