Module Trakeva_postgresql (.ml)

module Trakeva_postgresql: sig .. end
Implementation of Trakeva_interface.KEY_VALUE_STORE with a Postgresql backend.


Implementation of the API

The function create takes a “conninfo” URI string, cf. documentation, with one additional query parameter "trakeva-table" which tells the backend to store the values in the given SQL table (default: "trakeva_default_table").

include Trakeva.KEY_VALUE_STORE

Debugging


val debug : bool Pervasives.ref
Set dbug to true to print debug messages on stderr, this variable is also set when load is called while the environment variable "TRAKEVA_SQLITE_DEBUG" is set with the string "true".
val table_name : t -> string
The SQL table that is used internally.