package ocsipersist-pgsql

  1. Overview
  2. Docs
Persistent key/value storage for OCaml using PostgreSQL

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.1.2.tar.gz
md5=685a01c152aa6059b721280a29d35257
sha512=1cadc30a37c253f98d7ace1bb1ce0ac133e3e17f5b595bd80cc6c324bd5aed687a61211fc4ddcc060cfa476ca977943f994549ac79e9c16677b2041cdcaaf8f0

doc/src/ocsipersist-pgsql.settings/ocsipersist_settings.ml.html

Source file ocsipersist_settings.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
let host = ref None
let port = ref None
let user = ref None
let password = ref None
let database = ref "ocsipersist"
let unix_domain_socket_dir = ref None
let size_conn_pool = ref 16
let set_host (s : string) = host := Some s
let set_port (s : int) = port := Some s
let set_user (s : string) = user := Some s
let set_password (s : string) = password := Some s
let set_database (s : string) = database := s
let set_unix_domain_socket_dir (s : string) = unix_domain_socket_dir := Some s
let set_connexion_pool_size (s : int) = size_conn_pool := s