PostgreSQL

Libraries

The PostgreSQL back-end needs access to the PostgreSQL C client library (libpq.so). The location of this library is specified via *postgresql-so-load-path*, which defaults to /usr/lib/libpq.so. Additional flags to ld needed for linking are specified via *postgresql-so-libraries*, which defaults to ("-lcrypt" "-lc").

Initialization

Use

(mk:load-system :clsql-postgresql)
to load the PostgreSQL back-end. The database type for the PostgreSQL back-end is :postgresql.

Connection Specification