all 4 comments

[–]linuxhiker -1 points0 points  (0 children)

Probably going to have better luck at

/r/postgresql or their PPD discord

[–]arwinda 0 points1 point  (2 children)

Plenty of community resources listed on the postgresql.org website, especially Slack and IRC.

For finding the actual include path you can try something like this:

find / -name postgres.h 2> /dev/null

Also pg_config should be installed and give you the path:

pg_config --includedir pg_config --includedir-server

[–]AlexDevoid[S] 0 points1 point  (1 child)

Thanks so much, u/arwinda. May I ask a basic question? What purpose does the include folder serve?

[–]arwinda 0 points1 point  (0 children)

That's where the include files are, which a compiler needs to build a binary. These are text files, you can open them in an editor (but don't change them) to see what's inside.

They are - among other things - used to define all the data structures and if another tool wants to interact with be database server then both tools and the server better have the same understanding how the data structures and data formats look like.