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 1oEBGR-0008Vt-Q1 for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Jul 2022 15:05:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEBGP-0003tH-7W for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Jul 2022 15:05:25 +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 1oEBGO-0003sy-Tg for pgsql-hackers@lists.postgresql.org; Wed, 20 Jul 2022 15:05:24 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEBGE-000733-4s for pgsql-hackers@lists.postgresql.org; Wed, 20 Jul 2022 15:05:23 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 524075C009F; Wed, 20 Jul 2022 11:05:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 20 Jul 2022 11:05:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1658329513; x= 1658415913; bh=qbVKhOZVVah+JeliE8Zu0d83FopSsuNkmMX71tOXQeM=; b=q lSqGyrFCOQb7AvOJhIv9k3LfKFU1sFM4MvnNiwIXWd8ZUDQz9j2qLW3/MYK3C3gF 8Fnj989B40FD7c1zT27kJHUJ44QQGsi2ruqzL0uQlOeSrmG++qeStrkTKGUCs1Rh yqeyAUrxRfEVqik2IwEiHWes/8+7ZcGctjNUEI2GejapS6oPlYKRLzBCpSlUe66p KKBiganomYjLDLqVd+JlRiHcw/rbsEl8fm+6uTccDwbtA+6KKeF7SYkNSTVG1HDb 8Nw1u4mjzhGOejnqtF3yLfEHD1mpobBZUW++cdvK35+0FjfjzP3VXdcVzLZrL7rP pscc2XnqtSJ+yI4BVpv4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1658329513; x= 1658415913; bh=qbVKhOZVVah+JeliE8Zu0d83FopSsuNkmMX71tOXQeM=; b=b aPuAg0UWIhSKM3M0KS4MvjyCvMlt9eYOQv6yWP4u5FCwNDDYoQ/SYPemTB7kOZND ZYdrvR42CsB/WayZkyl+se/d2nFObOWP2IwfYcxrFWNr5JNDO01WrCp6ONHPxBx4 S8GunFF1CTO8ZsixMrgfLd94RwyRGoy8FWGCkm5qbp8tzhSqHGD+5Qj5e09TBv7q z1N4v7fCcD6VIpARoUUG8i52+1atCJ8HcYymJGOgyWxg1f4GaPua6+NmaS4E2ayS /A12cyK8vtQEyqqJrB5lhPI5mYizYv4SI38hGzrgi05vdYo8EdFR9TjcLVvK8JZD DfYC4roFy69DYlV6q7Hog== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudelvddgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpefhgfekheettdegveevtddthfelueehjedvteevfffhgfejudeigeej geekiedtffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Jul 2022 11:05:11 -0400 (EDT) Date: Wed, 20 Jul 2022 17:05:00 +0200 From: Andres Freund To: Tom Lane , Alvaro Herrera CC: Pavel Stehule , pgsql-hackers@lists.postgresql.org Subject: =?US-ASCII?Q?Re=3A_pgsql=3A_Default_to_hidden_visibili?= =?US-ASCII?Q?ty_for_extension_libraries_where_possi?= User-Agent: K-9 Mail for Android In-Reply-To: <1699248.1658326804@sss.pgh.pa.us> References: <20220720140430.2s6nyy5s6b4rpu23@alvherre.pgsql> <1699248.1658326804@sss.pgh.pa.us> Message-ID: <1AB5B62F-1730-493B-B454-4A17AAB41094@anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi,=20 On July 20, 2022 4:20:04 PM GMT+02:00, Tom Lane = wrote: >Alvaro Herrera writes: >> I suppose you're probably thinking of commit 53ef6c40f1e7; that didn't >> expose functions directly, but through plpgsql_plugin_ptr=2E Maybe tha= t >> one does need to be made PGDLLEXPORT, since currently it isn't=2E > >Hm=2E Not sure if the rules are the same for global variables as >they are for functions, but if so, yeah =2E=2E=2E They're the same on the export side=2E On windows the rules for linking to= variables are stricter (they need declspec dllimport), but that doesn't ma= tter for dlsym style stuff=2E Andres --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E