Skip to the content. PostgreSQL-OCaml - PostgreSQL Bindings for OCaml Overview PostgreSQL-OCaml is an OCaml library that provides a type-safe interface to PostgreSQL, a reliable and efficient open-source relational database. It replicates almost all functionality available through the C-API (libpq) using objects to represent database connections and query results. Usage The OCaml API, detailed in