pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jacob Champion <pchampion@vmware.com>
Cc: alvherre@alvh.no-ip.org <alvherre@alvh.no-ip.org>
Cc: daniel@yesql.se <daniel@yesql.se>
Cc: info@cspug.cz <info@cspug.cz>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: michael@paquier.xyz <michael@paquier.xyz>
Subject: Re: Preventing abort() and exit() calls in libpq
Date: Sat, 03 Jul 2021 11:23:56 -0400
Message-ID: <1242586.1625325836@sss.pgh.pa.us> (raw)
In-Reply-To: <1188534.1625267321@sss.pgh.pa.us>
References: <202107022303.kjy5q4wym6gj@alvherre.pgsql>
	<1188534.1625267321@sss.pgh.pa.us>

I wrote:
> Hmmm ... mine is 8.4.1.
> I'm about to go out to dinner, but will check into this with some
> newer gcc versions later.

Tried --enable-coverage on Fedora 34 (with gcc 11.1.1) and sure
enough there's an exit() call being inserted.  I've pushed a fix
to just disable the check altogether in --enable-coverage builds.

			regards, tom lane





view thread (57+ messages)  latest in thread

Message-ID: <1242586.1625325836@sss.pgh.pa.us>
Permalink:  ../1242586.1625325836@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1242586.1625325836@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pchampion@vmware.com, alvherre@alvh.no-ip.org, daniel@yesql.se, info@cspug.cz, michael@paquier.xyz
  Subject: Re: Preventing abort() and exit() calls in libpq
  In-Reply-To: <1242586.1625325836@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox