Wiki::Toolkit::Store::Pg.3pm

Langue: en

Autres versions - même langue

Version: 2008-07-13 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Wiki::Toolkit::Store::Pg - Postgres storage backend for Wiki::Toolkit

REQUIRES

Subclasses Wiki::Toolkit::Store::Database.

SYNOPSIS

See Wiki::Toolkit::Store::Database

METHODS

check_and_write_node
   $store->check_and_write_node( node     => $node,
                 checksum => $checksum,
                                 %other_args );
 
 

Locks the node, verifies the checksum, calls "write_node_post_locking" with all supplied arguments, unlocks the node. Returns 1 on successful writing, 0 if checksum doesn't match, croaks on error.