public inbox for [email protected]  
help / color / mirror / Atom feed
From: Guillaume Lelarge <[email protected]>
To: [email protected]
Subject: Re: Passwordcheck Extension Not Installing
Date: Mon, 10 Feb 2025 11:27:45 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAqOvVMd4nUJVL0iXcMK4HwLm+UA2h_EqEfbzWysxTv45UMGDw@mail.gmail.com>
References: <CAAqOvVMd4nUJVL0iXcMK4HwLm+UA2h_EqEfbzWysxTv45UMGDw@mail.gmail.com>

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






view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Passwordcheck Extension Not Installing
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox