pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
passwordcheck_extra module on pg v14.6
2+ messages / 2 participants
[nested] [flat]

* passwordcheck_extra module on pg v14.6
@ 2022-12-16 17:39 Daulat <daulat.dba@gmail.com>
  2022-12-16 18:13 ` Re: passwordcheck_extra module on pg v14.6 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Daulat @ 2022-12-16 17:39 UTC (permalink / raw)
  To: pgsql-admin <pgsql-admin@lists.postgresql.org>

Hello Team,

I have tried to use the passwordcheck_extra module on pg v14.6 (Ubuntu
22.04) from Advanced Password Checks (paquier.xyz)
<https://paquier.xyz/postgresql-2/advanced-password-check/;.
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.

waiting for server to start....2022-12-16 12:37:27.203 UTC [20464] FATAL:
 could not load library
"/opt/PostgreSQL-14/lib/postgresql/passwordcheck_extra.so":
/opt/PostgreSQL-14/lib/postgresql/passwordcheck_extra.so: undefined symbol:
elog_finish
2022-12-16 12:37:27.203 UTC [20464] LOG:  database system is shut down
 stopped waiting


Thanks.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: passwordcheck_extra module on pg v14.6
  2022-12-16 17:39 passwordcheck_extra module on pg v14.6 Daulat <daulat.dba@gmail.com>
@ 2022-12-16 18:13 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2022-12-16 18:13 UTC (permalink / raw)
  To: Daulat <daulat.dba@gmail.com>; +Cc: pgsql-admin <pgsql-admin@lists.postgresql.org>

Daulat <daulat.dba@gmail.com> writes:
> I have tried to use the passwordcheck_extra module on pg v14.6 (Ubuntu
> 22.04) from Advanced Password Checks (paquier.xyz)
> <https://paquier.xyz/postgresql-2/advanced-password-check/;.
> 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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-12-16 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 17:39 passwordcheck_extra module on pg v14.6 Daulat <daulat.dba@gmail.com>
2022-12-16 18:13 ` Tom Lane <tgl@sss.pgh.pa.us>

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