Re: Passwordcheck Extension Not Installing

From: Guillaume Lelarge <guillaume(dot)lelarge(at)dalibo(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Passwordcheck Extension Not Installing
Date: 2025-02-10 10:27:45
Message-ID: 5e920c39-8587-4185-b7ef-7e820b23e59b@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On 08/02/2025 20:28, Cihat Küçükbağrıaçık wrote:
> Hi Community,
>
> I have a PostgreSQL 17.2 database running on Ubuntu 22.04. I'm trying to
> install the |passwordcheck| extension, but I keep getting a "file not
> found" error.
>
> postgres=# create extension passwordcheck;
> ERROR:  extension "passwordcheck" is not available
> DETAIL:  Could not open extension control file "/usr/share/
> postgresql/17/extension/passwordcheck.control": No such file or directory.
> HINT:  The extension must first be installed on the system where
> PostgreSQL is running.
>
>
> Even though I have installed the |postgresql-contrib| packages, I still
> cannot see the extension. Below, I have listed the steps I followed.
> Could you help me with this issue?
>
> https://www.postgresql.org/docs/current/passwordcheck.html <https://
> www.postgresql.org/docs/current/passwordcheck.html>
>

To install passwordcheck, you shouldn't use "CREATE EXTENSION". You need
to add it to shared_preload_librarires, restart PostgreSQL, and that's all.

Regards.

--
Guillaume Lelarge
Consultant
https://dalibo.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mukesh Tanuku 2025-02-10 10:36:36 Re: PG-15.6: timeout parameters erroring out
Previous Message David G. Johnston 2025-02-10 05:08:52 Re: PG-15.6: timeout parameters erroring out