Thread: BUG #14995: repmgr_funcs lib is missing in rpm

BUG #14995: repmgr_funcs lib is missing in rpm

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      14995
Logged by:          Paweł Eljasz
Email address:      peljasz@gmail.com
PostgreSQL version: 9.6.6
Operating system:   centos 7
Description:

hi

Trying repmgr with:
shared_preload_libraries = 'repmgr_funcs'
results in:
< 2017-12-30 14:30:32.226 GMT > FATAL:  could not access file
"repmgr_funcs": No such file or directory



Re: BUG #14995: repmgr_funcs lib is missing in rpm

From
Devrim Gündüz
Date:
Hi,

On Sat, 2017-12-30 at 14:31 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference:      14995
> Logged by:          Paweł Eljasz
> Email address:      peljasz@gmail.com
> PostgreSQL version: 9.6.6
> Operating system:   centos 7
> Description:
>
> hi
>
> Trying repmgr with:
> shared_preload_libraries = 'repmgr_funcs'
> results in:
> < 2017-12-30 14:30:32.226 GMT > FATAL:  could not access file
> "repmgr_funcs": No such file or directory

Which version of repmgr is this, and where did you get the RPMs from?

Regards,

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment

Re: BUG #14995: repmgr_funcs lib is missing in rpm

From
Devrim Gündüz
Date:
Hi,

[Please keep the mailing list in CC)

On Tue, 2018-01-02 at 10:32 +0000, Paweł Eljasz wrote:
> repmgr96-4.0.0-1.rhel7.x86_64 from https://www.repmgr.org
> postgresql96-libs-9.6.6-1PGDG.rhel7.x86_64 (and deps) from
> https://www.postgresql.org/

Per:

https://repmgr.org/docs/4.0/release-4.0.0.html

" The `repmgr` shared library has been renamed from repmgr_funcs to repmgr,
meaning shared_preload_libraries in postgresql.conf needs to be updated to the
new name "

So, please use "repmgr".

Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment

Re: BUG #14995: repmgr_funcs lib is missing in rpm

From
Devrim Gündüz
Date:
Hi,

(Please keep the list in CC)

On Tue, 2018-01-02 at 11:59 +0000, Paweł Eljasz wrote:
> DETAIL: repmgr extension is available but not installed in database "(null)"
> HINT: check that the upstream server is part of a repmgr cluster

The message says it all. Run

CREATE EXTENSION repmgr;

in that database.

regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment