Re: Re: Remote PostgreSQL database - C/C++ program / Unix / Required Libraries

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Re: Remote PostgreSQL database - C/C++ program / Unix / Required Libraries
Дата
Msg-id 547B974B.7050903@hogranch.com
обсуждение исходный текст
Ответ на Re: Remote PostgreSQL database - C/C++ program / Unix / Required Libraries  (Léa Massiot <lmhelp1@orange.fr>)
Список pgsql-general
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



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

Предыдущее
От: Stephen Woodbridge
Дата:
Сообщение: Re: to_char(timestamp, format) is changing the year!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: JSON_AGG produces extra square brakets