libpq is the application programming interface to Postgres. libpq is a set of library routines which allows client programs to pass queries to the Postgres backend server and to receive the results of these queries. This version of the documentation describes the C interface library. Three short programs are included at the end of this section to show how to write programs that use libpq. There are several examples of libpq applications in the following directories:
../src/test/regress ../src/test/examples ../src/bin/psql
Frontend programs which use libpq must include the header file libpq-fe.h and must link with the libpq library.
|For the Developer||Up||Control and Initialization|
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.