Re: what sub-package shoudl we use for pg_rewind - Mailing list pgsql-pkg-yum

From Pavel Raiskup
Subject Re: what sub-package shoudl we use for pg_rewind
Date
Msg-id 2878647.uct1ls5CAR@nb.usersys.redhat.com
Whole thread Raw
In response to Re: what sub-package shoudl we use for pg_rewind  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Responses Re: what sub-package shoudl we use for pg_rewind
List pgsql-pkg-yum
On Wednesday 06 of January 2016 23:09:32 Devrim GÜNDÜZ wrote:
> On Wed, 2016-01-06 at 21:50 +0100, Pavel Raiskup wrote:
> > I'm tempted to put pg_rewind tool into 'postgresql-server.rpm', but
> > postgresql-9.5.spec in pgrms installs this into 'postgresql.rpm'.
> >
> > What is better approach?
>
> [..]
> I pushed it into main package, because it is not a "server" tool, and
> more like a utility. It is not something like pg_ctl or initdb.
>
> Why do you want to push it into -server subpackage?

It kind of sounds like tool useful for implementing slave-to-master
promotion (but both-ways).  And, given by tool's parameters, at least one
"data directory" needs to be local.

Thus I would bet it does not make sense to have this tool installed
without server package.

Pavel



pgsql-pkg-yum by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: what sub-package shoudl we use for pg_rewind
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: what sub-package shoudl we use for pg_rewind