mps@theintraweb.net writes:
> After a quick search on my system, I find that postgres.h only exists in
> the postgresql-7.4.7 source directory, and was not installed with the
> headers in /usr/local/pgsql/include/
You need to do "make install-all-headers" to get the server-side headers
installed in 7.4. (IIRC we made this the default in 8.0, but it was not
default in any prior version.)
regards, tom lane