| 1 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 13 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package FusqlFS::Backend::PgSQL; | ||
| 5 | 13 | ▶ | use FusqlFS::Version; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 13 | our $VERSION = $FusqlFS::Version::VERSION; | |
| 7 | 13 | ▶ | use parent 'FusqlFS::Backend::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | =begin testing | ||
| 10 | |||
| 11 | #!class FusqlFS::Backend::PgSQL::Test | ||
| 12 | #!noinst | ||
| 13 | |||
| 14 | my $fusqlh = FusqlFS::Backend::PgSQL->new( | ||
| 15 | host => '', | ||
| 16 | port => '', | ||
| 17 | database => 'fusqlfs_test', | ||
| 18 | user => 'postgres', | ||
| 19 | password => '' | ||
| 20 | ); | ||
| 21 | |||
| 22 | isa_ok $fusqlh, 'FusqlFS::Backend::PgSQL', 'PgSQL backend initialization'; | ||
| 23 | |||
| 24 | my $new_fusqlh = FusqlFS::Backend::PgSQL->new(); | ||
| 25 | is $new_fusqlh, $fusqlh, 'PgSQL backend is singleton'; | ||
| 26 | |||
| 27 | =end testing | ||
| 28 | =cut | ||
| 29 | sub init | ||
| 30 | 0 | ▶ | { |
|
Subroutine
init: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | 0 | $_[0]->autopackages( | |
| 32 | 'tables', | ||
| 33 | 'views', | ||
| 34 | 'sequences', | ||
| 35 | 'roles', | ||
| 36 | 'queries', | ||
| 37 | 'functions', | ||
| 38 | 'languages'); | ||
| 39 | } | ||
| 40 | |||
| 41 | sub dsn | ||
| 42 | 0 | ▶ | { |
|
Subroutine
dsn: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 43 | 0 | my $self = shift; | |
| 44 | 0 | return 'Pg:'.$self->SUPER::dsn(@_); | |
| 45 | } | ||
| 46 | |||
| 47 | 13 | 1; | |
| 48 | |||