NAME

db::Pg - Storage back end implementation using Postgresql


DESCRIPTION

This module implements all necessary methods (new(), insert(), getnextid(), and so on), so that it is useful as a storage back end by Datastore. In order to work correctly, the following is necessary:

The module db::Pg is a general-purpose database driven back end. There is but one Postgresql-dependend statement, which increments an internal id using select nextval('hsdata_seq'). E.g., the right Oracleism would be select hsdata_seq.nextval from dual. Other than that, this module is a good template for generic database back ends.


AUTHOR

The tamper-resistant server, all used modules, and the documentation were written by Karel Kubat / karel@e-tunity.com. Copyright (c) 2009 ff. Distributed under GPLV3.