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 ...

Get PostgreSQL, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.