"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> So do I just copy it manually from src/include/ ?
>>
>> add -I/usr/local/pgsql/include and -L/usr/local/pgsql/lib
To do backend code development, you need to either add a -I pointing at
the source include tree, or do make install-all-headers.
If you are talking about client-side code, it probably shouldn't depend
on any of the backend-side headers.
regards, tom lane