package postgresql

  1. Overview
  2. Docs
Bindings to the PostgreSQL library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

postgresql-5.3.2.tbz
sha256=1c47d22772f8938ff23d7350575d88ff2a3cf0d1f3988162f7bb807bccb157af
sha512=9f0ba45e066e7cdbc6429eede7a76955bd924a46db33c0a81dd2eb6a2cb3700a678355235b7891b17baaf227c6f32ad558c6bdac4e61923f13e227fae4e5afe2

Description

Postgresql offers library functions for accessing PostgreSQL databases.

Published: 29 Sep 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