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 1oDoV8-0002m2-EF for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Jul 2022 14:47:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDoU8-0006kw-9u for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Jul 2022 14:46:04 +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 1oDoU7-0006kh-V7 for pgsql-hackers@lists.postgresql.org; Tue, 19 Jul 2022 14:46:04 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDoU1-0003rQ-Fe for pgsql-hackers@lists.postgresql.org; Tue, 19 Jul 2022 14:46:02 +0000 Received: by mail-pf1-x436.google.com with SMTP id y141so13751832pfb.7 for ; Tue, 19 Jul 2022 07:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Y93NX3ZJMIKJs5djE6uqLspiO2AOoIpt8Q0QM2VYRGY=; b=NJvInbdmDwBAEc+vAhF11vnV0PhHaJMA9K+wpWn0JixJOIeahmCblxqNBnE+zoewcQ qLk1cx0RUEfeyrXIsMs2x29u609I3NwV+nuwuAlMj2mTjd7deKbGpaDGsB9s0fipRvBv zD4mdazyx13jp6hXjWefAc6+oa11PZCIqwMwvD4DpM2ZWNEmPQbBBtrmbCI0SDP6jCfZ a8M0PtdWmeeKvl6Wvzhu0WAgzgQNaVhpUVHxQVMILQUDWt8ajdeXcvbHmxLKjB4chXKm eg7Ir4hig6GBbypfHQmlWczieVFk0v5CVHTO7EUmhkKTovg3SM7F3kmkwZ75J4P18K9l 7EzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Y93NX3ZJMIKJs5djE6uqLspiO2AOoIpt8Q0QM2VYRGY=; b=LIvwcRf5Wpjx3sUNJg4w7IOKqo9l/yzt9T6gynzbPQsCruHApnZwUIHTKQOLn8nNuG sZshr4ssQXJQFHwFtu5OaysRYEYG+WLs7KYc4/GUxEFL+i8u7PsQ7/AAX38ZzCA7FhMI UGKosS+zfkP/sH6fI7TK7kwLi4lhOa0dmzmp9NO5uDMWKtM/m2KtZ83hRtQStKEPqoZp ERPuLw4Da6W/bg12NYR7lvtoO7ugm6xL4hylm7+q6YPRQ2fPkL7JaYkqx1ZtVenzBB4N qPoIGol03N0P/vUJNfh2qnYbfWet0aQIwlTrZNZmzdItUDTdqe5cGfnF0BbbOhtuzIhw r4KA== X-Gm-Message-State: AJIora93Qz3RJEFZQj38mLQfo1+nymfa+B8i8x0PZ2B5UcAjOT05VN2O I1uLvUkax/PhPD7up6+j0eQ= X-Google-Smtp-Source: AGRyM1saoG/WPqYETdMBFvFZJT9kLXMtO/7On2yljukTUBQ4D+ThtbwVK3KkNc160FuRsOof0l2RFQ== X-Received: by 2002:a65:6e8c:0:b0:419:f2d0:66ff with SMTP id bm12-20020a656e8c000000b00419f2d066ffmr17936745pgb.17.1658241956181; Tue, 19 Jul 2022 07:45:56 -0700 (PDT) Received: from jrouhaud (2001-b011-1005-7f3a-a079-f7f9-70ad-118d.dynamic-ip6.hinet.net. [2001:b011:1005:7f3a:a079:f7f9:70ad:118d]) by smtp.gmail.com with ESMTPSA id 64-20020a621543000000b005289753448fsm11554637pfv.123.2022.07.19.07.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 07:45:55 -0700 (PDT) Date: Tue, 19 Jul 2022 22:45:52 +0800 From: Julien Rouhaud To: Alvaro Herrera Cc: Tom Lane , Pavel Stehule , Andres Freund , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Default to hidden visibility for extension libraries where possi Message-ID: <20220719144552.leigwcdmbz52rlbl@jrouhaud> References: <1057666.1658238352@sss.pgh.pa.us> <20220719142807.2zex4cczycc5nqq5@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220719142807.2zex4cczycc5nqq5@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jul 19, 2022 at 04:28:07PM +0200, Alvaro Herrera wrote: > ... oh, and: > > $ postmaster -c shared_preload_libraries=plugin_debugger > 2022-07-19 16:27:24.006 CEST [742142] FATAL: cannot request additional shared memory outside shmem_request_hook This has been reported multiple times (including on one of my own projects), see https://www.postgresql.org/message-id/flat/81f82c00-8818-91f3-96fa-47976f94662b%40pm.me for the last report.