Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyj8H-0002at-7z for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Sep 2018 19:43:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fyj8F-0000fk-Fj for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Sep 2018 19:42:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyj8F-0000fd-9r for pgsql-bugs@lists.postgresql.org; Sat, 08 Sep 2018 19:42:59 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyj87-0007LI-W8 for pgsql-bugs@lists.postgresql.org; Sat, 08 Sep 2018 19:42:58 +0000 Received: from [192.168.127.1] (port=43459 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1fyj85-0005dg-BZ; Sat, 08 Sep 2018 19:42:49 +0000 Received: from [127.0.0.1] (port=24278 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fyj84-000AyU-Mn; Sat, 08 Sep 2018 19:42:48 +0000 From: Andrew Gierth To: Tom Lane Cc: Jeremy Evans , Michael Paquier , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables In-Reply-To: <3979.1536433320@sss.pgh.pa.us> (Tom Lane's message of "Sat, 08 Sep 2018 15:02:00 -0400") Message-ID: <87bm97srqj.fsf@news-spur.riddles.org.uk> References: <153626613985.23143.4743626885618266803@wrigleys.postgresql.org> <20180906215836.GP2726@paquier.xyz> <20180906222843.GF17425@jeremyevans.local> <20180907165103.GH17425@jeremyevans.local> <20180907175518.GI17425@jeremyevans.local> <20180907181522.GB32058@paquier.xyz> <20016.1536351535@sss.pgh.pa.us> <20180907204403.GC32058@paquier.xyz> <16558.1536407783@sss.pgh.pa.us> <18398.1536410055@sss.pgh.pa.us> <87o9d8rv08.fsf@news-spur.riddles.org.uk> <3979.1536433320@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sat, 08 Sep 2018 20:42:48 +0100 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Tom" == Tom Lane writes: Tom> However, the info I can find about this suggests that it's only Tom> relevant for exported functions, not ones that are hidden by means Tom> of a version-script. Since libpq doesn't export pg_saslprep, this Tom> shouldn't be happening? Tom> But wait, this problem is being reported on OpenBSD. I wonder Tom> whether their linker behaves anything like Linux's ... hm, it Tom> looks like it *is* the same linker. But the makefile is not doing the same thing. SHLIB_EXPORTS looks like it's being ignored on every platform except linux, macos and windows in Makefile.shlib. -- Andrew (irc:RhodiumToad)