Dominic Hargreaves > CGI-Wiki-0.63 > CGI::Wiki::Store::Pg

Download:
CGI-Wiki-0.63.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

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

REQUIRES ^

Subclasses CGI::Wiki::Store::Database.

SYNOPSIS ^

See CGI::Wiki::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.

syntax highlighting: