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