Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1beeLi-00043D-P9 for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Aug 2016 08:24:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1beeLi-0003wQ-Bz for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Aug 2016 08:24:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1beeL3-0002bH-GK for pgsql-bugs@postgresql.org; Tue, 30 Aug 2016 08:24:09 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1beeL1-00070t-5Q for pgsql-bugs@postgresql.org; Tue, 30 Aug 2016 08:24:08 +0000 Received: from asus-laptop-03-gunduz-org (unknown [88.248.122.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 0C74E3FCEB; Tue, 30 Aug 2016 08:24:04 +0000 (UTC) Message-ID: <1472545443.17764.4.camel@gunduz.org> Subject: Re: BUG #14299: initdb and man pages are not installed in the alternatives system From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: kop@meme.com, pgsql-bugs@postgresql.org Date: Tue, 30 Aug 2016 11:24:03 +0300 In-Reply-To: <20160827155016.15676.95799@wrigleys.postgresql.org> References: <20160827155016.15676.95799@wrigleys.postgresql.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-TzTGnVBlrR+9dNEOwJ8F" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --=-TzTGnVBlrR+9dNEOwJ8F Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Karl, On Sat, 2016-08-27 at 15:50 +0000, kop@meme.com wrote: > Bug reference:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 14299 > Logged by:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Karl Pin= c > Email address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kop@meme.com > PostgreSQL version: 9.5.4 > Operating system:=C2=A0=C2=A0 RHEL 7 > Description:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >=20 > Hi, >=20 > Just installed PG 9.5 on a RHEL 7 box.=C2=A0 While client programs like p= sql and > db_dump are installed in the alternatives system, initdb, and perhaps oth= er > server side programs, are not.=C2=A0 Consequently I must invoke initdb wi= th a > fully qualified path. This is intentional. We only create alternatives links for the binaries tha= t are cross version compatible. That is a natural effect of being able to multiple version of RPMs. > I can see man pages for psql (etc.) but not initdb.=C2=A0 Actually initdb, etc. are just not under MANPATH: man /usr/pgsql-9.5/share/man/man1/initdb.1 would work. > And I can't see any man pages for SQL commands like CREATE DATABASE.=C2= =A0 By > this I mean they are not in my MANPATH.=C2=A0 I presume this is because t= hey are > not under the control of the alternatives system. I am not aware that we have man pages for SQL commands. You are welcome to = send patches via=C2=A0https://redmine.postgresql.org/projects/pgrpms/issues=C2= =A0. > I've not tried installing whatever package contains, say, pg_test_timing, (postgresql95-contrib) > but it would be nice if all the PG upstream RPMs "did the right thing" wi= th > respect to alternatives and "just worked'. We made this design decision a few years ago, and I'm open to any solutions= / suggestions that won't break the multiple version installation feature. Regards, --=20 Devrim G=C3=9CND=C3=9CZ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-TzTGnVBlrR+9dNEOwJ8F 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 v2 iQIcBAABCAAGBQJXxUKjAAoJENjDPf6Sz261khsQALXcbTA6UW810aswuDbiyjJL Vr3LqNcx+J1nPy6SzmH+KoTaGP4vUa172Bf7JB22zRN5vMHLmVRdiocxIBftagZ/ +FQ/LJBs60Gf4Hi/jCbAc1d82Qs4CnMu5PTg9KU5pZ+ZFwZqESFC+zE4cmwpDTGO mWm/NOxQMrvZSDEmQvvO+7mbWipU8RZ/4nGp9JkxzpRZMRBvp5SojiizDppYrsCH 5jNAhc/TeUaPb5HVXAL2GWQnZA0fkau2aSSaKIGCXdHNpidlM5tUxzA1Ud7/kYA6 A+9nh/i/fuqQ0LVo797+bx43uvgt2/WE5Mcz0FRZd/QGG7DGPKOMSeqlTClz96p2 7N9lSt+mtTjKglRIqQfRqd4YjywCHAkyS8/ObNAkRUeGxgaBVWfCGNml/BMotG7E la1zDlwbwoKGi3H3rxsrfSaN4ts8W4//pkOJzCXKLcPHykGzVmVugOU4zMjj/gEh 1fPSeT+4aanP/QKx7/iz951ZkPkmWK/6lE9Q6ieku770sdzVQaZ1QQ3t2BPHX0dJ UfCmvZjTGj7dSu0hSbIGK+0KOVs5mCKoX4naApGdWbSZCYM/5fFtZu16xPruykJo 5xqPYRhknHJdAr6RP3QF5ZZGdXJnnB9hE650XxqUACrGp59yO6y1oL+AD+vo1O2v tPphOklLCQgAR11gG+OU =g0QZ -----END PGP SIGNATURE----- --=-TzTGnVBlrR+9dNEOwJ8F--