Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oE9ul-0004HX-Se for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Jul 2022 13:38:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oE9uk-0002c8-9X for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Jul 2022 13:38:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oE9uk-0002WE-0B for pgsql-hackers@lists.postgresql.org; Wed, 20 Jul 2022 13:38:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oE9uh-0006ND-Ik for pgsql-hackers@lists.postgresql.org; Wed, 20 Jul 2022 13:38:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 26KDcore1691357; Wed, 20 Jul 2022 09:38:50 -0400 From: Tom Lane To: Alvaro Herrera cc: Andres Freund , Pavel Stehule , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Default to hidden visibility for extension libraries where possi In-reply-to: <20220720090247.kjqkzxh43vjaw45y@alvherre.pgsql> References: <20220720090247.kjqkzxh43vjaw45y@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 20 Jul 2022 11:02:47 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1691355.1658324330.1@sss.pgh.pa.us> Date: Wed, 20 Jul 2022 09:38:50 -0400 Message-ID: <1691356.1658324330@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > No immediate plans for splitting plpgsql.h, so if anyone wants to take a > stab at that, be my guest. ISTM that a comment pointing out that the functions marked PGDLLEXPORT are meant to be externally accessible should be sufficient. I'll try to do some research later today to identify anything else we need to mark in plpgsql. I recall doing some work specifically creating functions for pldebugger's use, but I'll need to dig. regards, tom lane