package ocsipersist-pgsql

  1. Overview
  2. Docs
Persistent key/value storage (for Ocsigen) using PostgreSQL

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.2.tar.gz
md5=0d6a62bc59454aac2f077189a628f078
sha512=fbf043df65c37587a198947323d13256dfcd25d847ff33037e42df7b28423a87cee6a5b7c6264cb2b0c159b88fc6e3f095ed46ed3fe49fa57287e0825c263e85

doc/index.html

ocsipersist-pgsql

For the API documentation see OPAM package ocsipersist.

Here we document the configuration options of the ocsigenserver extension. All attributes of the database tag are optional.

One can either define a host to connect to:

<extension findlib-package="ocsipersist.pgsql">
  <database
     host="localhost"
     port="3000"
     user="ocsipersist"
     password="<secret>"
     size_conn_pool = "16"
  />
</extension>

Or a UNIX domain socket:

<extension findlib-package="ocsipersist.pgsql">
  <database
    unix_domain_socket_dir = "pgsql_socket"
    user="ocsipersist"
    password="<secret>"
    size_conn_pool = "16"
  />
</extension>
OCaml

Innovation. Community. Security.