package ocsipersist-pgsql

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.4.tar.gz
md5=e99f5923693f6b8ab9fdd390743629d8
sha512=adb726404721e0d7d0325b3239c4352d18cc43181e95ab025bdca97f5fdf07ebca97e78959c043ddb45dfd33ba6affad9349f17b04261e97ffa1f80f4317677c

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.