PostgreSQL: Documentation: 13: 33.20. Building libpq Programs

https://www.postgresql.org/docs/current/libpq-build.html

Header Home About Download Documentation Community Developers Support Donate Your account /input-group 20th May 2021: PostgreSQL 14 Beta 1 Released ! Documentation → PostgreSQL 13 Supported Versions: Current ( 13 ) / 12 / 11 / 10 / 9.6 Development Versions: 14 / devel Unsupported versions: 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4 / 7.3 / 7.2 /input-group 33.20. Building libpq Programs Prev Up Chapter 33. libpq — C Library Home Next libpq To build (i.e., compile and link) a program using libpq you need to do all of the following things: Include the libpq-fe.h header file: #include <libpq-fe.h> If you failed to do that then you will normally get error messages from your compiler similar to:...

Linked on 2021-06-02 20:06:35 | Similar Links