Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1thW6a-003PUs-QN for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2025 15:53:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1thW6Z-002N1N-Im for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2025 15:53:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1thW6Z-002N1F-8a for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2025 15:53:51 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1thW6X-0003PS-1u for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2025 15:53:50 +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 51AFrmwr2194812; Mon, 10 Feb 2025 10:53:48 -0500 From: Tom Lane To: =?UTF-8?B?Q2loYXQgS8O8w6fDvGtiYcSfcsSxYcOnxLFr?= cc: pgsql-general@lists.postgresql.org Subject: Re: Passwordcheck Extension Not Installing In-reply-to: References: <2057123.1739136035@sss.pgh.pa.us> Comments: In-reply-to =?UTF-8?B?Q2loYXQgS8O8w6fDvGtiYcSfcsSxYcOnxLFr?= message dated "Mon, 10 Feb 2025 16:20:07 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2194810.1739202828.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 10 Feb 2025 10:53:48 -0500 Message-ID: <2194811.1739202828@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?UTF-8?B?Q2loYXQgS8O8w6fDvGtiYcSfcsSxYcOnxLFr?=3D writes: > I have also observed that the *passwordcheck.so* file exists in the > *"/usr/lib/postgresql/17/lib/"* directory. It seems that, for some reaso= n, > when the PostgreSQL service starts, it is unable to read the > *passwordcheck.so* file and create the *passwordcheck.control* file in t= he > *"/usr/share/postgresql/17/extension/"* directory. No, you misunderstand the process. The .control file is one of the distributed files for an extension; the server has no ability to create one. What we both missed is that *passwordcheck is not an extension*. It has no SQL-visible objects. It's just a shared library that you must preload into the server, as per its documentation. regards, tom lane