pkg-config files for libpq and ecpg

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pkg-config files for libpq and ecpg
Дата
Msg-id 50F5AAF1.3070607@gmx.net
обсуждение исходный текст
Ответы Re: pkg-config files for libpq and ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pkg-config files for libpq and ecpg  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
I'll take another stab at providing pkg-config files for the client-side
libraries.

The main reason this time around is that this works a lot better (or at
all) for multi-arch library installations.

Another is that pkg-config has become a lot smarter and flexible over
the years, and it's probably a better choice for users who are already
used to its interface.  There is a lot of confusion, for example, about
what pg_config --libs really means.  We often evade that by saying,
well, those are the libraries we linked with, but there is a lack of
clarity in that context about what libraries a user should link with.

The way it's implemented, it doesn't require manual maintenance, so it
should not be much of a bother.

A side issue that arose: libecpg_compat is linked with libpq, but
doesn't seem to use it.  This was added many years ago in
cd75f94dafd43358305811b7576ad75d889097e3, but it doesn't appear to be
required anymore.  Needs some checking.

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: buffer assertion tripping under repeat pgbench load
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: count(*) of zero rows returns 1