Re: Passwordcheck Extension Not Installing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cihat Küçükbağrıaçık <cihat(dot)kucukbagriacik(at)profelis(dot)com(dot)tr>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Passwordcheck Extension Not Installing
Date: 2025-02-09 21:20:35
Message-ID: 2057123.1739136035@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?UTF-8?B?Q2loYXQgS8O8w6fDvGtiYcSfcsSxYcOnxLFr?= <cihat(dot)kucukbagriacik(at)profelis(dot)com(dot)tr> writes:
> 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?

Are any of the usual extensions present in that directory, or is it
just passwordcheck that's missing?

The most obvious bet is that you installed a postgresql-contrib
package that is not really compatible with the server package
you're using and it put all the extension files somewhere else
than where the server expects to find them. Try checking the
file listing for the postgresql-contrib package you used.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-02-09 21:56:52 Re: Passwordcheck Extension Not Installing
Previous Message Cihat Küçükbağrıaçık 2025-02-08 19:28:44 Passwordcheck Extension Not Installing