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 1oEAYd-0006Oh-A8 for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Jul 2022 14:20:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEAYb-0007CB-LZ for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Jul 2022 14:20:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEAYb-0007BX-CR for pgsql-hackers@lists.postgresql.org; Wed, 20 Jul 2022 14:20:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEAYZ-0005z3-Bd for pgsql-hackers@lists.postgresql.org; Wed, 20 Jul 2022 14:20:09 +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 26KEK4pC1699249; Wed, 20 Jul 2022 10:20:04 -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: <20220720140430.2s6nyy5s6b4rpu23@alvherre.pgsql> References: <20220720140430.2s6nyy5s6b4rpu23@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 20 Jul 2022 16:04:30 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1699247.1658326804.1@sss.pgh.pa.us> Date: Wed, 20 Jul 2022 10:20:04 -0400 Message-ID: <1699248.1658326804@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > I suppose you're probably thinking of commit 53ef6c40f1e7; that didn't > expose functions directly, but through plpgsql_plugin_ptr. Maybe that > one does need to be made PGDLLEXPORT, since currently it isn't. Hm. Not sure if the rules are the same for global variables as they are for functions, but if so, yeah ... regards, tom lane