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 04:53:09
Message-ID: 20210701045309.GB2288851@rfd.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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:

[nm(at)gcc-solaris11 5:0 2021-07-01T06:48:54 postgresql 1]$ /usr/bin/nm -u -g src/interfaces/libpq/libpq.so|grep exec
nm: -u or -e set, -g ignored
[nm(at)gcc-solaris11 5:0 2021-07-01T06:49:41 postgresql 1]$ /usr/bin/nm -g -u src/interfaces/libpq/libpq.so|grep exec
nm: -e or -g set, -u ignored
[405] | 208320| 84|FUNC |GLOB |3 |14 |PQexec
[818] | 208416| 128|FUNC |GLOB |3 |14 |PQexecParams
[729] | 208672| 112|FUNC |GLOB |3 |14 |PQexecPrepared
[nm(at)gcc-solaris11 5:0 2021-07-01T06:49:45 postgresql 0]$ /usr/bin/nm -u src/interfaces/libpq/libpq.so|grep exec
[nm(at)gcc-solaris11 5:0 2021-07-01T06:49:48 postgresql 1]$

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Lepikhov 2021-07-01 05:20:24 Re: Removing unneeded self joins
Previous Message Bharath Rupireddy 2021-07-01 04:16:35 Re: postgres_fdw - should we tighten up batch_size, fetch_size options against non-numeric values?