Re: Preventing abort() and exit() calls in libpq

From: Noah Misch <noah(at)leadboat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Michael Paquier <michael(at)paquier(dot)xyz>, Jacob Champion <pchampion(at)vmware(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>, info(at)cspug(dot)cz
Subject: Re: Preventing abort() and exit() calls in libpq
Date: 2021-07-01 05:23:52
Message-ID: 20210701052352.GD2288851@rfd.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 01, 2021 at 01:20:48AM -0400, Tom Lane wrote:
> Noah Misch <noah(at)leadboat(dot)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...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2021-07-01 05:42:50 Re: Numeric multiplication overflow errors
Previous Message Tom Lane 2021-07-01 05:20:48 Re: Preventing abort() and exit() calls in libpq