package ocsipersist-pgsql

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.1.tar.gz
md5=ffbd09c9fe79c0fd9c5013dce0975a7c
sha512=7b038f35fb93b9983642cbff2f4069cacd5fe9f20118e3cb6aca685a7e2f16f320b73daa13b39dd45429fb6e884699dc7cfca9cfc459c8db86baf4846c9fb7e9

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.