Re: looking for psql without server-installation

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Christian(dot)Strobl(at)dlr(dot)de
Cc: tometzky(at)batory(dot)org(dot)pl, pgsql-general(at)postgresql(dot)org
Subject: Re: looking for psql without server-installation
Date: 2008-08-07 10:59:56
Message-ID: 489AD5AC.1020801@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian(dot)Strobl(at)dlr(dot)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, also preferred self compiled.
> i know that is possible to compile at every workstation the sourcecode of the server to get a psql-client. but the side effect 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-packages which 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomasz Ostrowski 2008-08-07 11:00:44 Re: looking for psql without server-installation
Previous Message Christian.Strobl 2008-08-07 09:49:56 Re: looking for psql without server-installation