Re: Preventing abort() and exit() calls in libpq - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Preventing abort() and exit() calls in libpq
Date
Msg-id 20210701052352.GD2288851@rfd.leadboat.com
Whole thread Raw
In response to Re: Preventing abort() and exit() calls in libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Preventing abort() and exit() calls in libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Jul 01, 2021 at 01:20:48AM -0400, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > On Wed, Jun 30, 2021 at 11:45:10PM -0400, Tom Lane wrote:
> >> we're still left with the question of why
> >> Solaris' "nm" doesn't support the POSIX-required options.
> 
> > In POSIX, -g and -u are mutually exclusive.  Solaris ignores all but the first
> > of these in a command:
> 
> I've just re-read the POSIX spec for "nm", and I do not see anything there
> that would support that interpretation.  Still, we can try it without -g
> and see what else breaks.

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/nm.html says:

  nm [-APv] [-g|-u] [-t format] file...

If the options weren't mutually-exclusive, it would say:

  nm [-APvgu] [-t format] file...



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Preventing abort() and exit() calls in libpq
Next
From: David Rowley
Date:
Subject: Re: Numeric multiplication overflow errors