pgsql: Improve build-time check that libpq doesn't call exit(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve build-time check that libpq doesn't call exit().
Date
Msg-id E1lyxwZ-0001q8-KL@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve build-time check that libpq doesn't call exit().

Further fixes for commit dc227eb82.  Per suggestion from
Peter Eisentraut, use a stamp-file to control when the check
is run, avoiding repeated executions during "make all".
Also, remove "-g" switch for nm: it's useless and some versions
of nm consider it to conflict with "-u".  (Thanks to Noah Misch
for running down that portability issue.)

Discussion: https://postgr.es/m/3128896.1624742969@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f7bae2f924d8213a76370f825dc15eb0aa79796

Modified Files
--------------
src/interfaces/libpq/.gitignore |  1 +
src/interfaces/libpq/Makefile   | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Fix prove_installcheck to use correct paths when used with PGXS
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Don't reset relhasindex for partitioned tables on ANALYZE