Re: repmgr: Do we need separate versions of repmgr for separate PG versions?

From: Martín Marqués <martin(at)2ndquadrant(dot)com>
To: Strahinja Kustudić <strahinjak(at)nordeus(dot)com>
Cc: Devrim Gündüz <devrim(at)gunduz(dot)org>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>, Jaime Casanova <Jaime(at)2ndquadrant(dot)com>
Subject: Re: repmgr: Do we need separate versions of repmgr for separate PG versions?
Date: 2015-02-24 16:35:26
Message-ID: CAPdiE1wGdXv5_SGMsbqdTpL=URw2vN40F_smbcBbiLS-2sFQyQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

2015-02-24 13:24 GMT-03:00 Strahinja Kustudić <strahinjak(at)nordeus(dot)com>:
> If repmgr is not PG version dependant, it should all go into the same
> directory, on the other hand if it is version dependant, I would add the
> version of postgres to the package name.

+1 to all.

But one clarification.

The only postgres version dependent part is the repmgr library needed
for autofailovers voting, where it decides who is eligible to be the
new master.

Debian has it separated in another package. Maybe we could mimic that.

root(at)debian7:~# apt-cache search repmgr
postgresql-9.0-repmgr - replication manager support modules for PostgreSQL 9.0
postgresql-9.1-repmgr - replication manager support modules for PostgreSQL 9.1
postgresql-9.2-repmgr - replication manager support modules for PostgreSQL 9.2
postgresql-9.3-repmgr - replication manager support modules for PostgreSQL 9.3
postgresql-9.4-repmgr - replication manager support modules for PostgreSQL 9.4
repmgr - replication manager for PostgreSQL
repmgr-dbg - debug symbols for repmgr

postgresql-9.x-rpmgr contains the repmgr_funcs.so library and the sql
to install and uninstall repmgr monitoring tables and functions.

Kind regards,

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Brian Panulla 2015-02-24 17:06:46 minor dependency issue with PostGIS 2.1.5 RPM and PostgreSQL version
Previous Message Strahinja Kustudić 2015-02-24 16:24:16 Re: repmgr: Do we need separate versions of repmgr for separate PG versions?