Re: looking for psql without server-installation - Mailing list pgsql-general

From Albe Laurenz
Subject Re: looking for psql without server-installation
Date
Msg-id D960CB61B694CF459DCFB4B0128514C20261E695@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: looking for psql without server-installation  (<Christian.Strobl@dlr.de>)
List pgsql-general
Christian Strobl wrote:
> thanks for your answers. unfortunately i misworded my problem
> again. i have a very clear problem and i am looking for a
> solution of this problem (if it is basic or not) and i am not
> using RedHatEL/CentOS/Fedora. i am looking for a solution
> which is applicable to every linux os and not only for some.
> so here again my problem:
>
> i am looking for the possibility to install a psql client
> (without a server) FROM THE SOURCE. 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+, ...)
> regards and please excuse my unclear question
> christian
> p.s. i don't want to change to RedHatEL/CentOS/Fedora

Unless I understood you wrong, this is the solution:

- Download the source, unpack it and follow the installation
  procedure described in
  http://www.postgresql.org/docs/current/static/install-procedure.html

- Pay specific attention to the section "Client-only installation:"
  in point 4.

First, read
http://www.postgresql.org/docs/current/static/install-requirements.html

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg_restore fails on Windows
Next
From: Kevin Murphy
Date:
Subject: Re: How to use postgresql-jdbc rpm with Sun JDK