Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aGvKx-0000Zx-Ru for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 06 Jan 2016 21:09:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aGvKx-0007Qp-EW for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 06 Jan 2016 21:09:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGvKw-0007Pu-Ug for pgsql-pkg-yum@postgresql.org; Wed, 06 Jan 2016 21:09:42 +0000 Received: from ns3.gunduz.org ([107.170.88.27] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGvKs-0008Ru-UZ for pgsql-pkg-yum@postgresql.org; Wed, 06 Jan 2016 21:09:42 +0000 Received: from asus-laptop-03.gunduz.org (unknown [85.99.241.196]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id A5D6240793; Wed, 6 Jan 2016 21:09:35 +0000 (UTC) Message-ID: <1452114572.7521.24.camel@gunduz.org> Subject: Re: what sub-package shoudl we use for pg_rewind From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: Pavel Raiskup , pgsql-pkg-yum Cc: pkajaba@redhat.com Date: Wed, 06 Jan 2016 23:09:32 +0200 In-Reply-To: <3363960.GTZCVZ4gy8@nb.usersys.redhat.com> References: <3363960.GTZCVZ4gy8@nb.usersys.redhat.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-U2ebeZNZUd+kQf57AvOd" X-Mailer: Evolution 3.18.3 (3.18.3-1.fc23) Mime-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --=-U2ebeZNZUd+kQf57AvOd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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'. >=20 > 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, --=20 Devrim G=C3=9CND=C3=9CZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-U2ebeZNZUd+kQf57AvOd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJWjYKMAAoJENjDPf6Sz261WfUQAJuER2iiYrHQz0Zbwud6bVcw w5dVhX9T3fOMt6C0VqBt9WSVRv7BNWICjou3M8rmKl1FM3QxwHXQMUDvXeZLrFhN rOzDmh3F84nwaH0xjatUUfVrVr5lG+SsmMU9e5IadpdjosyQkL3shmCGPww2n8qG jFY8NSG3Lml/PCAjFO//2JKnbeyk+9hw/sDYkncflCh+gNBuBB6dwLKDkMHBL2Qh /BRVreDPL59HWjQujz9Kzl469dJKG+Oo2R4KlG4lOn3NKreA5xuRGvAiL91ql6ey HAOGZ8JPZ8OGaU0bkzuHoS9abFNXWZsUVZfcEwCVmMckRQgVWGxnLHpiCAWQcltR 9RbLs7+opkG7Sucb2yEl3UVQ2gUQOl7fDi3CNMzzFyEBKIY1cBsIevKvShqJmaKh 78axuAGWFeQkKPGdMfPnnQtBZCr5iQmlSkrcIZibIwydJpwpOJ1olYapEOab++no UtmqwxddG2gF4lVau7v3dXQQIh4BhvhtmNsDp2sWJoVgGwcxSP34xDistp1iZcXe Ms9kel9GfUh0dzFi+icDeCvgNpWFs8toNi/QrQUFKQAZMHm0h3WNn6w7IRUXVDTP cDMSTTGZ8sNDPrRs0snHMABETKcv9QJ3e+q92pO2zKdZAcUS1nI2jiPHJMbzB+pZ I5Er5aZ1+Hraouv0BLSg =YmE4 -----END PGP SIGNATURE----- --=-U2ebeZNZUd+kQf57AvOd--