Chapter 5. libpgeasy - Simplified libpq C Library

pgeasy (libpgeasy) is a library that consists of a simplified set of C functions that encapsulate the functionality of libpq.

The pgeasy interface can be found in src/interfaces/libpgeasy. Frontend programs that use libpgeasy must include the header file libpgeasy.h and must also link with the libpgeasy library (by using the -lpgeasy linker option).

Database Connection Functions

This section describes the routines in the libpgeasy library that are used to open and close a connection to a Red Hat Database backend server.