Where can I find the pg_config binary in PostgreSQL 14?

Started by Oskar Stenbergover 4 years ago2 messagesgeneral
Jump to latest
#1Oskar Stenberg
oskar_stenberg@outlook.com

Hi+ACE

I'm developing an application with PostgreSQL as the database. But
during the compilation I need to use pg+AF8-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+AF8-config binary?
It seems to contain some headers for it but not the actual+AKA-binary. Has
it been removed/moved on purpose from the new version? And if so where
do I find this+AKA-functionality now? Is there another way to get those
paths in a simple manner? :)

Thanks in advance+ACE

Best Regards
Oskar

#2Oskar Stenberg
oskar_stenberg@outlook.com
In reply to: Oskar Stenberg (#1)
Re: Where can I find the pg_config binary in PostgreSQL 14?

Never mind... I found it+ACE

For anyone else that has the same problem: +AKA-It had been moved to
+ACI-/usr/pgsql-14/bin/pg+AF8-config+ACI

Sorry for disturbing everyone with this... +ACo-Facepalm+ACo

On Fri, 2021-10-01 at 12:12 +-0200, Oskar Stenberg wrote:
+AD4 Hi+ACE
+AD4 
+AD4 I'm developing an application with PostgreSQL as the database. But
+AD4 during the compilation I need to use pg+AF8-config to get the paths of
+AD4 the other PostgreSQL files. But since upgrading to PostgreSQL 14 I
+AD4 can't find it anymore. Earlier I got this binary from libpq-devel
+AD4 (I'm using fedora as my workstation and Rocky Linux/CentOS on the
+AD4 database server) but that package has been replaced by postgresql14-
+AD4 devel according to DNF. But from what I can see it doesn't contain
+AD4 the pg+AF8-config binary? It seems to contain some headers for it but not
+AD4 the actual+AKA-binary. Has it been removed/moved on purpose from the new
+AD4 version? And if so where do I find this+AKA-functionality now? Is there
+AD4 another way to get those paths in a simple manner? :)
+AD4 
+AD4 
+AD4 Thanks in advance+ACE
+AD4 
+AD4 Best Regards
+AD4 Oskar