Re: looking for psql without server-installation

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: looking for psql without server-installation
Дата
Msg-id 489AD5AC.1020801@hagander.net
обсуждение исходный текст
Ответ на Re: looking for psql without server-installation  (<Christian.Strobl@dlr.de>)
Ответы Re: looking for psql without server-installation
Список pgsql-general
Christian.Strobl@dlr.de wrote:
> maybe i misworded my problem. i am looking for the possibility to install a psql client (without a server) out of the
sources.my usecase is: one server with a postgresql-server (self compiled) and several workstations with psql-clients,
alsopreferred self compiled.  
> i know that is possible to compile at every workstation the sourcecode of the server to get a psql-client. but the
sideeffect is, that in this case i have a potential server at every workstation and in my opinion that is a very large
footprint.i have to compile psql for myself because otherwise (installing binaries with packaging tools) i have no (or
minimal)control about the version of the client. 
> i think that is a use case which can be applied to the needs of many people (for example: oracle offers also
client-only-packageswhich are containing sql+, ...) 
> hoping for a solution

Just run the "make" and "make install" commands in subdirs only. You
will need to do it in src/interfaces/libpq and src/bin/psql to get a
working psql.

But you can certainly have control over the version on the client even
if you use binary packages like .RPMs. Just decide which version you
install. The OS may come with a pre-selected version by default, but for
most OSes there are RPMs or DEBs available for other versions as well
that you can install.

//Magnus


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

Предыдущее
От:
Дата:
Сообщение: Re: looking for psql without server-installation
Следующее
От: Tomasz Ostrowski
Дата:
Сообщение: Re: looking for psql without server-installation