32.19. Building libpq Programs

Note: The following description applies both to Postgres-XL and PostgreSQL if not described explicitly.

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