Questions tagged [pg-config]

6 questions
2
votes
1 answer

How to specify Postgresql client version to prevent server version mismatch?

I use homebrew-postgresql formula to manage multiple Postgresql version. When I tried to run rails db:migrate with :sql as the schema_format, it produced pg_dump -s -x -O -f /Users/ogirginc/project/blog/db/structure.sql blog_development command…
ogirginc
  • 4,948
  • 3
  • 31
  • 45
1
vote
0 answers

postgres libraries pgport and pgcommon in pg_config output

When I run pg_config, I can see -lpgcommon -lpgport under LIBS as below. But why I can't find any libraries related to them. Should I expect libpgcommon.so, libpgport.so or libpgcommon.a, libpgport.a under my postgres lib folder? .... LIBS =…
Frank
  • 11
  • 1
0
votes
1 answer

Cannot update `max_wal_senders` parameter, always set to 1

I'm trying to increase the max_wal_senders param and no matter how or what I set it to, it always shows up as 1. Updated postgresql.conf, only one instanced of max_wal_senders and it's set to 10. I've also used alter system set max_wal_senders = 10…
Nicole Staline
  • 557
  • 4
  • 15
0
votes
1 answer

Cannot find pg_config executable

Having no idea what pg_config is, I searched online and it seems to be part of or connected to PostgreSQL. I don't have or use that though and never have but I suspect that I may be getting this because I recently started using azure libraries in…
VaultDweller
  • 127
  • 1
  • 8
0
votes
1 answer

I am trying to install django-heroku on my Mac but am getting the below error

Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executable path with the option: python setup.py build_ext --pg-config…
Ryan
  • 31
  • 5
0
votes
0 answers

"pip install psycopg2" not working on Linux (pg_config executable not found)

Trying to install psycopg2 package on Linux using: pip install psycopg2 Getting the following error: Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the…