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-10 15:53:48
Message-ID: 2194811.1739202828@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 also observed that the *passwordcheck.so* file exists in the
> *"/usr/lib/postgresql/17/lib/"* directory. It seems that, for some reason,
> when the PostgreSQL service starts, it is unable to read the
> *passwordcheck.so* file and create the *passwordcheck.control* file in the
> *"/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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2025-02-10 16:00:57 Re: PG-15.6: timeout parameters erroring out
Previous Message Cihat Küçükbağrıaçık 2025-02-10 15:50:48 Re: Passwordcheck Extension Not Installing