DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

28.16. Building libpq Programs

To build (i.e., compile and link) a program using libpq you need to do all of the following things:

If your codes references the header file libpq-int.h and you refuse to fix your code to not use it, starting in PostgreSQL 7.2, this file will be found in includedir/postgresql/internal/libpq-int.h, so you need to add the appropriate -I option to your compiler command line.