Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xyoxk-0002pR-1A for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Dec 2014 21:38:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xyoxh-00060z-WF for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Dec 2014 21:38:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xyoxh-00060i-3E for pgsql-bugs@postgresql.org; Wed, 10 Dec 2014 21:38:21 +0000 Received: from smtp106.ord1c.emailsrvr.com ([108.166.43.106]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xyoxd-0001qh-Qc for pgsql-bugs@postgresql.org; Wed, 10 Dec 2014 21:38:19 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 8089980151; Wed, 10 Dec 2014 16:38:16 -0500 (EST) X-Virus-Scanned: OK Received: by smtp6.relay.ord1c.emailsrvr.com (Authenticated sender: jeff.frost-AT-pgexperts.com) with ESMTPSA id EB9C180161; Wed, 10 Dec 2014 16:38:15 -0500 (EST) X-Sender-Id: jeff.frost@pgexperts.com Received: from [10.10.10.16] (8.202-62-69.ftth.swbr.surewest.net [69.62.202.8]) (using TLSv1 with cipher AES128-SHA) by 0.0.0.0:465 (trex/5.4.2); Wed, 10 Dec 2014 21:38:16 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: BUG #12187: Cant find the postgresql-client installation by yum install From: Jeff Frost In-Reply-To: <20141210155529.2521.95622@wrigleys.postgresql.org> Date: Wed, 10 Dec 2014 13:38:13 -0800 Cc: pgsql-bugs@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <3A856AC7-C786-44D2-ADE0-33203E18B818@pgexperts.com> References: <20141210155529.2521.95622@wrigleys.postgresql.org> To: wangzhipengkmust@126.com X-Mailer: Apple Mail (2.1878.6) X-Pg-Spam-Score: -1.9 (-) 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 On Dec 10, 2014, at 7:55 AM, wangzhipengkmust@126.com wrote: > The following bug has been logged on the website: >=20 > Bug reference: 12187 > Logged by: Grady > Email address: wangzhipengkmust@126.com > PostgreSQL version: 9.3.5 > Operating system: Red hat 6.5 > Description:=20=20=20=20=20=20=20=20 >=20 > Hi Master > I successfully installed postgresql-9.3.5. I used common: "yum install > postgresql93*". But there are not postgresql93-client are installed. I re= ad > the offical webiste. It mentioned the client package exist. > Attached the installed information as below: >=20 > Installed: > postgresql93.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 > postgresql93-contrib.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > postgresql93-debuginfo.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20= =20=20=20=20 > postgresql93-devel.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 > postgresql93-docs.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > postgresql93-jdbc.x86_64 0:9.3.1101-1PGDG.rhel6=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > postgresql93-jdbc-debuginfo.x86_64 0:9.3.1101-1PGDG.rhel6=20=20=20 > postgresql93-libs.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 > postgresql93-odbc.x86_64 0:09.03.0300-1PGDG.rhel6=20=20=20=20=20=20=20= =20=20=20=20 > postgresql93-odbc-debuginfo.x86_64 0:09.03.0300-1PGDG.rhel6=20=20=20 > postgresql93-plperl.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > postgresql93-plpython.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > postgresql93-pltcl.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > postgresql93-python.x86_64 0:4.1.1-1PGDG.rhel6=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > postgresql93-python-debuginfo.x86_64 0:4.1.1-1PGDG.rhel6=20=20=20=20 > postgresql93-server.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 > postgresql93-test.x86_64 0:9.3.5-1PGDG.rhel6=20=20=20=20 >=20 >=20 If you look at the output of:=20 rpm -ql postgresql93 You'll see that the client binaries are installed in /usr/pgsql-9.3/bin: $ rpm -ql postgresql93 /usr/pgsql-9.3/bin/clusterdb /usr/pgsql-9.3/bin/createdb /usr/pgsql-9.3/bin/createlang /usr/pgsql-9.3/bin/createuser /usr/pgsql-9.3/bin/dropdb /usr/pgsql-9.3/bin/droplang /usr/pgsql-9.3/bin/dropuser /usr/pgsql-9.3/bin/pg_basebackup /usr/pgsql-9.3/bin/pg_config /usr/pgsql-9.3/bin/pg_dump /usr/pgsql-9.3/bin/pg_dumpall /usr/pgsql-9.3/bin/pg_isready /usr/pgsql-9.3/bin/pg_receivexlog /usr/pgsql-9.3/bin/pg_restore /usr/pgsql-9.3/bin/pg_test_fsync /usr/pgsql-9.3/bin/psql /usr/pgsql-9.3/bin/reindexdb /usr/pgsql-9.3/bin/vacuumdb You should also find the common ones lke psql, createdb, vacuumdb, etc in = /usr/bin via the 'alternatives' mechanism. If for some reason they are not in /usr/bin, you can put them there the sam= e way the rpm scriptlet does like so: /usr/sbin/update-alternatives --install /usr/bin/psql pgsql-psql /usr/pgsql= -9.3/bin/psql 930 /usr/sbin/update-alternatives --install /usr/bin/clusterdb pgsql-clusterdb= /usr/pgsql-9.3/bin/clusterdb 930 /usr/sbin/update-alternatives --install /usr/bin/createdb pgsql-createdb = /usr/pgsql-9.3/bin/createdb 930 /usr/sbin/update-alternatives --install /usr/bin/createlang pgsql-createlan= g /usr/pgsql-9.3/bin/createlang 930 /usr/sbin/update-alternatives --install /usr/bin/createuser pgsql-createuse= r /usr/pgsql-9.3/bin/createuser 930 /usr/sbin/update-alternatives --install /usr/bin/dropdb pgsql-dropdb = /usr/pgsql-9.3/bin/dropdb 930 /usr/sbin/update-alternatives --install /usr/bin/droplang pgsql-droplang = /usr/pgsql-9.3/bin/droplang 930 /usr/sbin/update-alternatives --install /usr/bin/dropuser pgsql-dropuser = /usr/pgsql-9.3/bin/dropuser 930 /usr/sbin/update-alternatives --install /usr/bin/pg_basebackup pgsql-pg_= basebackup /usr/pgsql-9.3/bin/pg_basebackup 930 /usr/sbin/update-alternatives --install /usr/bin/pg_dump pgsql-pg_dump = /usr/pgsql-9.3/bin/pg_dump 930 /usr/sbin/update-alternatives --install /usr/bin/pg_dumpall pgsql-pg_dumpal= l /usr/pgsql-9.3/bin/pg_dumpall 930 /usr/sbin/update-alternatives --install /usr/bin/pg_restore pgsql-pg_restor= e /usr/pgsql-9.3/bin/pg_restore 930 /usr/sbin/update-alternatives --install /usr/bin/reindexdb pgsql-reindexdb= /usr/pgsql-9.3/bin/reindexdb 930 /usr/sbin/update-alternatives --install /usr/bin/vacuumdb pgsql-vacuumdb = /usr/pgsql-9.3/bin/vacuumdb 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/clusterdb.1 pg= sql-clusterdbman /usr/pgsql-9.3/share/man/man1/clusterdb.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/createdb.1 pg= sql-createdbman /usr/pgsql-9.3/share/man/man1/createdb.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/createlang.1 pg= sql-createlangman /usr/pgsql-9.3/share/man/man1/createlang.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/createuser.1 pg= sql-createuserman /usr/pgsql-9.3/share/man/man1/createuser.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/dropdb.1 pg= sql-dropdbman /usr/pgsql-9.3/share/man/man1/dropdb.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/droplang.1 pg= sql-droplangman /usr/pgsql-9.3/share/man/man1/droplang.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/dropuser.1 pg= sql-dropuserman /usr/pgsql-9.3/share/man/man1/dropuser.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/pg_basebackup.1= pgsql-pg_basebackupman /usr/pgsql-9.3/share/man/man1/pg_basebackup.1 = 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/pg_dump.1 pg= sql-pg_dumpman /usr/pgsql-9.3/share/man/man1/pg_dump.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/pg_dumpall.1 pg= sql-pg_dumpallman /usr/pgsql-9.3/share/man/man1/pg_dumpall.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/pg_restore.1 pg= sql-pg_restoreman /usr/pgsql-9.3/share/man/man1/pg_restore.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/psql.1 pgsql= -psqlman /usr/pgsql-9.3/share/man/man1/psql.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/reindexdb.1 pg= sql-reindexdbman /usr/pgsql-9.3/share/man/man1/reindexdb.1 930 /usr/sbin/update-alternatives --install /usr/share/man/man1/vacuumdb.1 pg= sql-vacuumdbman /usr/pgsql-9.3/share/man/man1/vacuumdb.1 930 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs