line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
2677
|
use strict; use warnings; |
|
2
|
|
|
2
|
|
4
|
|
|
2
|
|
|
|
|
56
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
87
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package DBIx::Connector::Driver::Pg; |
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
12
|
use DBIx::Connector::Driver; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
319
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.59'; |
8
|
|
|
|
|
|
|
our @ISA = qw( DBIx::Connector::Driver ); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub savepoint { |
11
|
0
|
|
|
0
|
1
|
|
my ($self, $dbh, $name) = @_; |
12
|
0
|
|
|
|
|
|
$dbh->pg_savepoint($name); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub release { |
16
|
0
|
|
|
0
|
1
|
|
my ($self, $dbh, $name) = @_; |
17
|
0
|
|
|
|
|
|
$dbh->pg_release($name); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub rollback_to { |
21
|
0
|
|
|
0
|
1
|
|
my ($self, $dbh, $name) = @_; |
22
|
0
|
|
|
|
|
|
$dbh->pg_rollback_to($name); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |