package ocsipersist-pgsql

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.5.tar.gz
md5=d299bffca1c863bd3bb952c8d3d66329
sha512=3706506b97cad5d7cfc287c424199553a6af5397ca04c95b0ee4c8904f402d3c313edc7eae96c2771af733bbcce0757b12e31e034701e9cb002421c222140e1d

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.