[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [GENERAL] Re: Remote PostgreSQL database - C/C++ program / Unix / Required Libraries
From: John R Pierce <pierce () hogranch ! com>
Date: 2014-11-30 22:16:43
Message-ID: 547B974B.7050903 () hogranch ! com
[Download RAW message or body]
On 11/30/2014 2:03 PM, Léa Massiot wrote:
> I actually asked the question out of curiosity.
> (And also because I was working on a machine with no PostgreSQL installed. I
> was wondering if I had to install a whole PostgreSQL system or not).
In the RH/CentOS/Fedora world, you CAN install just the runtime
libraries and -devel packages (postgresqlXY-libs and -devel) to do C
programming. I'm not sure if the debian/ubuntu packages have the same
granularity.
the 'whole postgres system' is really rather compact. a client-only
user could well need not only the runtime library libpq.so and
associated .h files, but also need pg_config, psql, pg_dump,
pg_restore... about the only parts a client-only user wouldn't use
would be the actual server 'postgres', and pg_ctl, these files combined
are just a few megabytes.
the full install of everything including contributed libraries is 34MB
on my CentOS 6 64bit server....
--
john r pierce 37N 122W
somewhere on the middle of the left coast
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic