Re: Installing clients (psql) only

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Installing clients (psql) only
Дата
Msg-id Pine.LNX.4.21.0006180134150.348-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Installing clients (psql) only  (Rick Delaney <rick@consumercontact.com>)
Ответы Re: Installing clients (psql) only  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgsql-general
Rick Delaney writes:

> Is there a source distribution to install just psql?

No (at least not officially). If you want to use psql you probably have a
server somewhere, and there's no reason why you couldn't reuse that source
tree.

> What I'm looking for is a quick and easy way to install psql and
> DBD::Pg (which needs libpq) on a bunch of different unix client
> machines.

Something like this should suffice:

./configure [options]
make -C interfaces
make -C interfaces install
make -C bin
make -C bin install

(Or if you really just want psql, you can find it in bin/psql, and libpq
in interfaces/libpq.)

If you're sure that all clients are configured identically you can just
log into each one and run the "install" steps on each. Otherwise it's
safest if you run `make distclean' and re-configure on each box.

> What do people normally do when they don't need all of Postgres on
> their client boxes?

Using RPMs is also popular, if applicable.


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Backend died while dropping index
Следующее
От: "Manuel Lemos"
Дата:
Сообщение: Re: International Address Format Standard