I am trying to install the pglogical extension in my postgres database, which I installed on my macOS with homebrew. I am following instructions provided on the GCP blog as I am preparing to migrate my database to CloudSQl with Database Migration Service.
I am struggling to complete the following step of these steps, and could use some advice:
Find where Homebrew installed Postgres, find include folder, add all include folders to C_INCLUDE_PATH
My questions are:
- I found the include folder with
pg_config --includedir
- But now, where is the pglogical
C_INCLUDE_PATH
variable? (I searched the pglogical repo and didn't find it) Or where do I create theC_INCLUDE_PATH
variable? - Am I to add all subdirectories of the include folder to the
C_INCLUDE_PATH
variable?
When I run make
in the pglogical repo, I get the following:
sed 's/__PGLOGICAL_VERSION__/2.4.1/;s/__REQUIRES__//' /.../.../Documents/pglogical/pglogical.control.in > /.../.../Documents/pglogical/pglogical.control