Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lypBD-0000kY-F8 for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Jul 2021 05:24:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lypBB-0003GM-88 for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Jul 2021 05:24:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lypBB-0003GD-0P for pgsql-hackers@lists.postgresql.org; Thu, 01 Jul 2021 05:24:01 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lypB7-0003Qt-Vi for pgsql-hackers@postgresql.org; Thu, 01 Jul 2021 05:24:00 +0000 Received: by mail-pl1-x635.google.com with SMTP id n9so563738plf.7 for ; Wed, 30 Jun 2021 22:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/f//C4T6CWeCWPFH1X9IZzX82BJAR1dRgbCGw0/yB+E=; b=MjOtJTdmALfhEpyGJQqHi4D4N3sYQk9JLGcv76YRyriSYS6pc5qbGXJLXP6h+vxqkI uJ3KQStfCuvMvXtGT+v6NJlgzJqP2S+sCo6+BKUkrKrwwqhqrnQzsTAVk1mNgTPW37Wq DnPtwsFcIMfBnkA20YqLNyRTmp8vzQHB6r/Gk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/f//C4T6CWeCWPFH1X9IZzX82BJAR1dRgbCGw0/yB+E=; b=tpZgwnaAJboILThCCHM2D6Z2NcCOeN8YIfk1ly3m3JvT+E8OfO9wxYHY+yW/8LISMs u0JKc0XAT0JXZ7nkY9tHWcLFHihXgQs6VBA2vCKTi4FR9MoDfU7g25mCOrbuOZ6oQv0u N4YcOmPsiJjIZO50u4FB3Z8FlW2/uz+hMxWlr/WEw/h/Pk5RhCpIoTo08hzdIzpESghF aj3YQjnoxzlkgyIb4hMqbmhTw8XSanDx3KkRlslEMm0IZA1BVZGJJqwOMHMSYofHdCoF 9XbHRgcBJ/f7Pr9l3jApegO2zs+2XWI1e158FlhTjp4/t76LWzFRYrei7zWveS8fHXwt BLrA== X-Gm-Message-State: AOAM532I0pWokOL0ssp0y5Fdvuen6nh4yxs2ODkevEPmCKnCz7wQLLYE D5lAaUZikXljnlqtx2aD1h91ZQ== X-Google-Smtp-Source: ABdhPJyrrcQqgYRIh4/U4EjdgWeyY31cigmZmEIp/VuIa1BIVmjuFS4oeU2btMnq/op7Yffe4nPG2w== X-Received: by 2002:a17:90a:e415:: with SMTP id hv21mr4503391pjb.178.1625117035773; Wed, 30 Jun 2021 22:23:55 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id t2sm22717348pfg.73.2021.06.30.22.23.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jun 2021 22:23:55 -0700 (PDT) Date: Wed, 30 Jun 2021 22:23:52 -0700 From: Noah Misch To: Tom Lane Cc: Alvaro Herrera , Michael Paquier , Jacob Champion , "pgsql-hackers@postgresql.org" , Daniel Gustafsson , info@cspug.cz Subject: Re: Preventing abort() and exit() calls in libpq Message-ID: <20210701052352.GD2288851@rfd.leadboat.com> References: <202107010144.ffjf7l4izv4m@alvherre.pgsql> <648217.1625111110@sss.pgh.pa.us> <20210701045309.GB2288851@rfd.leadboat.com> <653608.1625116848@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <653608.1625116848@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jul 01, 2021 at 01:20:48AM -0400, Tom Lane wrote: > Noah Misch 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...