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

From Tom Lane
Subject Re: pgbench error: (setshell) of script 0; execution of meta-command failed
Date
Msg-id 2425050.1736522451@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgbench error: (setshell) of script 0; execution of meta-command failed  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgbench error: (setshell) of script 0; execution of meta-command failed
List pgsql-hackers
I wrote:
> Since legacy-pqsignal is really not supposed to be used by clients
> anymore, maybe we could just adjust it to set SA_RESTART for SIGALRM?
> The other alternatives I can think of amount to re-introducing
> link order dependencies, which would be horrid.

Actually, after re-reading the thread that led to 06843df4a [1],
I think a better idea is to introduce some macro magic to force
frontend clients to use libpgport's version of pqsignal() instead
of the one from libpq.  We mustn't change the real name of libpq's
version, but I think we could get away with that for libpgport.

I'm a bit tied up today, but can look at this over the weekend if
nobody beats me to it.

            regards, tom lane

[1] https://www.postgresql.org/message-id/flat/467042.1695766998%40sss.pgh.pa.us



pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: POC: track vacuum/analyze cumulative time per relation
Next
From: Daniel Gustafsson
Date:
Subject: Re: Adding support for SSLKEYLOGFILE in the frontend