package ocsipersist-pgsql

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.1.0.tar.gz
md5=9d878dd68c0618b87268ebbd1472fa8c
sha512=82d82f854af3d6708c571d0c586a5abbba35a9c9e7482b81fdce5207e1f3f98dde3823550d3661714e7faa586888a0b6e4d5ae64f36983575079a9820d5d11ee

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.