Prerequisites
As mentioned previously, libpgeasy is a wrapper around libpq. The basic requirements for building a libpq client were described in Chapter 8, “The PostgreSQL C API—libpq,” and so I won't repeat them here.
libpgeasy is no longer included in the core PostgreSQL distribution. If you want to try out libpgeasy, you can download it from the official PostgreSQL Projects website, gborg.postgresql.org (search for “pgeasy”). Once you've downloaded the most recent (stable) version, unpack the archive (it will be named something like libpgeasy-version.tgz) into a temporary directory and then do the typical GNU two-step to configure and compile the library. Once you've unpacked the archive, move into the newly created directory and browse through ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access