# yum search postgresql | grep ^postgresql postgresql-odbc.x86_64 : PostgreSQL ODBC driver postgresql.i686 : PostgreSQL client programs postgresql.x86_64 : PostgreSQL client programs postgresql-contrib.x86_64 : Contributed modules distributed with PostgreSQL postgresql-devel.i686 : PostgreSQL development header files and libraries postgresql-devel.x86_64 : PostgreSQL development header files and libraries postgresql-docs.x86_64 : Extra documentation for PostgreSQL postgresql-ip4r.x86_64 : IPv4 and IPv4 range index types for PostgreSQL postgresql-jdbc.noarch : JDBC driver for PostgreSQL postgresql-libs.i686 : The shared libraries required for any PostgreSQL clients postgresql-libs.x86_64 : The shared libraries required for any PostgreSQL postgresql-pgpool-II.i686 : Pgpool is a connection pooling/replication server postgresql-pgpool-II.x86_64 : Pgpool is a connection pooling/replication server postgresql-pgpool-II-recovery.x86_64 : PGPool recovery add-on for PostgreSQL postgresql-plparrot.x86_64 : A PostgreSQL procedural language for the Parrot postgresql-plperl.x86_64 : The Perl procedural language for PostgreSQL postgresql-plpython.x86_64 : The Python procedural language for PostgreSQL postgresql-plruby.x86_64 : PostgreSQL Ruby Procedural Language postgresql-pltcl.x86_64 : The Tcl procedural language for PostgreSQL postgresql-server.x86_64 : The programs needed to create and run a PostgreSQL postgresql-test.x86_64 : The test suite distributed with PostgreSQL postgresql_autodoc.noarch : PostgreSQL AutoDoc Utility postgresql-pgpool-II-devel.i686 : The development files for pgpool-II postgresql-pgpool-II-devel.x86_64 : The development files for pgpool-II postgresql-plruby-doc.x86_64 : Documentation for plruby
預設YUM源上面只有 8.4.13
# yum info postgresql-server
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.uhost.hk
* epel: mirror01.idc.hinet.net
* extras: centos.uhost.hk
* updates: centos.uhost.hk
Installed Packages
Name : postgresql-server
Arch : x86_64
Version : 8.4.13
Release : 1.el6_3
Size : 14 M
Repo : installed
From repo : base
Summary : The programs needed to create and run a PostgreSQL server
URL : http://www.postgresql.org/
License : PostgreSQL
Description : The postgresql-server package includes the programs needed to create
: and run a PostgreSQL server, which will in turn allow you to create
: and maintain PostgreSQL databases. PostgreSQL is an advanced
: Object-Relational database management system (DBMS) that supports
: almost all SQL constructs (including transactions, subselects and
: user-defined types and functions). You should install
: postgresql-server if you want to create and maintain your own
: PostgreSQL databases and/or your own PostgreSQL server. You also need
: to install the postgresql package.
# yum install postgresql-server # chkconfig postgresql on # service postgresql initdb # service postgresql start