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 1fz5P5-00057h-MS for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Sep 2018 19:29:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fz5P3-0005JG-NP for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Sep 2018 19:29:49 +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 1fz5P3-0005J9-HT for pgsql-bugs@lists.postgresql.org; Sun, 09 Sep 2018 19:29:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fz5P1-0008Ki-0s for pgsql-bugs@lists.postgresql.org; Sun, 09 Sep 2018 19:29:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w89JTZpG022026; Sun, 9 Sep 2018 15:29:36 -0400 From: Tom Lane To: Andrew Gierth 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: <87o9d8rv08.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> Comments: In-reply-to Andrew Gierth message dated "Sat, 08 Sep 2018 14:22:22 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22024.1536521375.1@sss.pgh.pa.us> Date: Sun, 09 Sep 2018 15:29:35 -0400 Message-ID: <22025.1536521375@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Gierth writes: > Is this potentially also a problem for libpqwalreceiver, which also > loads libpq? As far as I can see, only libpq and the ECPG libraries build their own copies of any src/port or src/common files, and all of them already have version scripts. If libpqwalreceiver tried to incorporate any such files and compile them under FRONTEND rules, it'd need a version script as well. But I think that code is probably content to operate under backend rules, so it'll just use the functions from the core backend and be happy. Hence, no clear need for a version script there. I think the patches I committed today are sufficient to close this bug, unless further testing reveals that the problem occurs on additional platforms. The buildfarm results so far don't suggest that. regards, tom lane