Re: Where can I find the pg_config binary in PostgreSQL 14?

Поиск
Список
Период
Сортировка
От Oskar Stenberg
Тема Re: Where can I find the pg_config binary in PostgreSQL 14?
Дата
Msg-id DB6PR03MB2968C5661344B8C18E32C70CF9AB9@DB6PR03MB2968.eurprd03.prod.outlook.com
обсуждение исходный текст
Ответ на Where can I find the pg_config binary in PostgreSQL 14?  (Oskar Stenberg <oskar_stenberg@outlook.com>)
Список pgsql-general
Never mind... I found it!

For anyone else that has the same problem:  It had been moved to "/usr/pgsql-14/bin/pg_config"

Sorry for disturbing everyone with this... *Facepalm*

On Fri, 2021-10-01 at 12:12 +0200, Oskar Stenberg wrote:
Hi!

I'm developing an application with PostgreSQL as the database. But during the compilation I need to use pg_config to get the paths of the other PostgreSQL files. But since upgrading to PostgreSQL 14 I can't find it anymore. Earlier I got this binary from libpq-devel (I'm using fedora as my workstation and Rocky Linux/CentOS on the database server) but that package has been replaced by postgresql14-devel according to DNF. But from what I can see it doesn't contain the pg_config binary? It seems to contain some headers for it but not the actual binary. Has it been removed/moved on purpose from the new version? And if so where do I find this functionality now? Is there another way to get those paths in a simple manner? :)


Thanks in advance!

Best Regards
Oskar

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

Предыдущее
От: Oskar Stenberg
Дата:
Сообщение: Where can I find the pg_config binary in PostgreSQL 14?
Следующее
От: Subhrajyoti Senapati
Дата:
Сообщение: Re: Sysbench tests on PG12