package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

Dune Dependency

Authors

Maintainers

Sources

postgresql-5.2.0.tbz
sha256=b94fcaee1bd09631a75330a53d1768777dada5500677fb06aa1dcda88ca02780
sha512=efcfbf65fba55b0c90eda97982a3e83f51021b899b032333b51e4908ab6cb77d546c5a10df0986ce4fb86df45c438c3947b37f1751e097c70ace02aff945b469

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 23 Jun 2025

README

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 lib/postgresql.mli, is well-documented. You can generate HTML documentation with make doc, or access it online.

For more information on interacting with PostgreSQL, refer to the PostgreSQL documentation. The examples directory contains concise OCaml examples that are ideal for beginners.

Contributing

To report bugs, request features, or contribute, please use the GitHub issue tracker.

For the latest updates, visit: https://mmottl.github.io/postgresql-ocaml

OCaml

Innovation. Community. Security.