DBIx::Connector::Driver::Pg - PostgreSQL-specific connection interface


DBIx-Connector documentation Contained in the DBIx-Connector distribution.

Index


Code Index:

Name

Top

DBIx::Connector::Driver::Pg - PostgreSQL-specific connection interface

Description

Top

This subclass of DBIx::Connector::Driver provides PostgreSQL-specific implementations of the following methods:

savepoint
release
rollback_to

Authors

Top

This module was written and is maintained by:

David E. Wheeler <david@kineticode.com>

It is based on code written by:

Matt S. Trout <mst@shadowcatsystems.co.uk>
Peter Rabbitson <rabbit+dbic@rabbit.us>

Copyright and License

Top


DBIx-Connector documentation Contained in the DBIx-Connector distribution.

package DBIx::Connector::Driver::Pg;

use strict;
use warnings;
use base 'DBIx::Connector::Driver';
our $VERSION = '0.45';

sub savepoint {
    my ($self, $dbh, $name) = @_;
    $dbh->pg_savepoint($name);
}

sub release {
    my ($self, $dbh, $name) = @_;
    $dbh->pg_release($name);
}

sub rollback_to {
    my ($self, $dbh, $name) = @_;
    $dbh->pg_rollback_to($name);
}

1;
__END__