The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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,
                                content  => $content,
                                checksum => $checksum,
                                links_to => \@links_to ) or return 0;

Locks the node, verifies the checksum and writes the content to the node, unlocks the node. Returns 1 on success, 0 if checksum doesn't match, croaks on error.

The links_to parameter is optional, but if you do supply it then this node will be returned when calling list_backlinks on the nodes in @links_to. Note that if you don't supply the ref then the store will assume that this node doesn't link to any others, and update itself accordingly.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 35:

=over without closing =back