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 1p6FDI-0002m1-Gd for pgsql-admin@arkaria.postgresql.org; Fri, 16 Dec 2022 18:13:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p6FDG-0005MG-31 for pgsql-admin@arkaria.postgresql.org; Fri, 16 Dec 2022 18:13:38 +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 1p6FDF-0005LZ-Oe for pgsql-admin@lists.postgresql.org; Fri, 16 Dec 2022 18:13:37 +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 1p6FDC-0003rS-J1 for pgsql-admin@lists.postgresql.org; Fri, 16 Dec 2022 18:13:37 +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 2BGIDWS33816851; Fri, 16 Dec 2022 13:13:32 -0500 From: Tom Lane To: Daulat cc: pgsql-admin Subject: Re: passwordcheck_extra module on pg v14.6 In-reply-to: References: Comments: In-reply-to Daulat message dated "Fri, 16 Dec 2022 23:09:31 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3816849.1671214412.1@sss.pgh.pa.us> Date: Fri, 16 Dec 2022 13:13:32 -0500 Message-ID: <3816850.1671214412@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daulat writes: > I have tried to use the passwordcheck_extra module on pg v14.6 (Ubuntu > 22.04) from Advanced Password Checks (paquier.xyz) > . > But getting below error message while restarting postgres after making > changes (shared_preload_libraries = 'passwordcheck_extra') in > postgresql.conf file. The same thing is working in pg10 but pg14.6 throws > below error. You would need a version that is actually built against v14. Postgres extension modules always require recompilation for new major server versions. (Sadly, the linker gets in the way here before we're able to deliver an on-point error message.) regards, tom lane