pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command.
Date: Mon, 12 Jul 2021 21:09:51 -0400
Message-ID: <3189569.1626138591@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGLpSgVmD1jMpBcsjnXun3jNxG+6dYzpocxOz3R6Z8n9rA@mail.gmail.com>
References: <E1m35jw-0006Gi-Qg@gemulon.postgresql.org>
	<3187588.1626136248@sss.pgh.pa.us>
	<CA+hUKGLpSgVmD1jMpBcsjnXun3jNxG+6dYzpocxOz3R6Z8n9rA@mail.gmail.com>

Thomas Munro <thomas.munro@gmail.com> writes:
> On Tue, Jul 13, 2021 at 12:30 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I think this is going to fall over on gaur, which doesn't have POSIX-style
>> sigwait.

> 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.

			regards, tom lane





view thread (15+ messages)  latest in thread

Message-ID: <3189569.1626138591@sss.pgh.pa.us>
Permalink:  ../3189569.1626138591@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3189569.1626138591@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com
  Subject: Re: pgsql: Add PSQL_WATCH_PAGER for psql's \watch command.
  In-Reply-To: <3189569.1626138591@sss.pgh.pa.us>
  References: <E1m35jw-0006Gi-Qg@gemulon.postgresql.org> <3187588.1626136248@sss.pgh.pa.us> <CA+hUKGLpSgVmD1jMpBcsjnXun3jNxG+6dYzpocxOz3R6Z8n9rA@mail.gmail.com> <3189569.1626138591@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox