Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command. - Mailing list pgsql-committers

From Thomas Munro
Subject Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command.
Date
Msg-id CA+hUKGKDKXEfkQR5HsG7pq7oLaH366zqyMuRE4DMg2=Hb_C1GQ@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Tue, Jul 13, 2021 at 1:09 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
> > Oh, thanks for the advance warning.   Wouldn't HAVE_SIGWAIT be better?  Like so.
>
> That won't help as-is, because it *does* have sigwait, just not with
> the POSIX API.  thread_test.c does this:
>
> /* Test for POSIX.1c 2-arg sigwait() and fail on single-arg version */
> #include <signal.h>
> int                     sigwait(const sigset_t *set, int *sig);
>
> which perhaps should be pulled out of there and moved to the
> configure script proper.

Ah, I see.  I'll have a crack at that after lunch.



pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command.
Next
From: David Rowley
Date:
Subject: pgsql: Robustify tuplesort's free_sort_tuple function