public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim GÜNDÜZ <[email protected]>
To: Pavel Raiskup <[email protected]>
To: pgsql-pkg-yum <[email protected]>
Cc: [email protected]
Subject: Re: what sub-package shoudl we use for pg_rewind
Date: Wed, 06 Jan 2016 23:09:32 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>


Hi Pavel,

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?

Awesome question. Here are the list of binaries that we install with
each RPM:

$ rpm -ql postgresql95|grep bin
/usr/pgsql-9.5/bin/clusterdb
/usr/pgsql-9.5/bin/createdb
/usr/pgsql-9.5/bin/createlang
/usr/pgsql-9.5/bin/createuser
/usr/pgsql-9.5/bin/dropdb
/usr/pgsql-9.5/bin/droplang
/usr/pgsql-9.5/bin/dropuser
/usr/pgsql-9.5/bin/pg_archivecleanup
/usr/pgsql-9.5/bin/pg_basebackup
/usr/pgsql-9.5/bin/pg_config
/usr/pgsql-9.5/bin/pg_dump
/usr/pgsql-9.5/bin/pg_dumpall
/usr/pgsql-9.5/bin/pg_isready
/usr/pgsql-9.5/bin/pg_receivexlog
/usr/pgsql-9.5/bin/pg_restore
/usr/pgsql-9.5/bin/pg_rewind
/usr/pgsql-9.5/bin/pg_test_fsync
/usr/pgsql-9.5/bin/pg_test_timing
/usr/pgsql-9.5/bin/pg_upgrade
/usr/pgsql-9.5/bin/pg_xlogdump
/usr/pgsql-9.5/bin/pgbench
/usr/pgsql-9.5/bin/psql
/usr/pgsql-9.5/bin/reindexdb
/usr/pgsql-9.5/bin/vacuumdb

$ rpm -ql postgresql95-server|grep bin
/usr/pgsql-9.5/bin/initdb
/usr/pgsql-9.5/bin/pg_controldata
/usr/pgsql-9.5/bin/pg_ctl
/usr/pgsql-9.5/bin/pg_resetxlog
/usr/pgsql-9.5/bin/postgres
/usr/pgsql-9.5/bin/postgresql95-check-db-dir
/usr/pgsql-9.5/bin/postgresql95-setup
/usr/pgsql-9.5/bin/postmaster

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?

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR




Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: what sub-package shoudl we use for pg_rewind
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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