line |
true |
false |
branch |
41
|
0 |
0 |
unless my $type = &reftype($arg) |
42
|
0 |
0 |
if $type eq 'HASH' |
45
|
0 |
0 |
if $binary = $arg->{'postgres'} |
105
|
0 |
7 |
ref $this ? : |
109
|
7 |
0 |
unless $DBDPG |
111
|
7 |
0 |
if ($spec->{'bootstrap'}) |
112
|
7 |
0 |
unless $check{'initdb'} and -x $check{'initdb'} |
113
|
7 |
0 |
unless $check{'createdb'} and -x $check{'createdb'} |
116
|
7 |
0 |
if ($spec->{'autostart'}) |
117
|
7 |
0 |
unless $check{'postgres'} and -x $check{'postgres'} |
120
|
7 |
0 |
if ($spec->{'load_sql'}) |
121
|
7 |
0 |
unless $check{'psql'} and -x $check{'psql'} |
124
|
0 |
7 |
unless @bad |
139
|
0 |
0 |
unless defined $self->{'env_vars'}{'PGPORT'} |
148
|
0 |
0 |
if defined $cfg->{$key} |
157
|
0 |
0 |
if $vars->{'PGPORT'} and $vars->{'PGPORT'} eq $self->port |
175
|
0 |
0 |
unless open my $cf, '>', "$db_dir/postgresql.conf" |
178
|
0 |
0 |
unless length $val |
190
|
0 |
0 |
unless mkdir $db_dir |
210
|
0 |
0 |
if $ok |
212
|
0 |
0 |
if $try == 5 |
217
|
0 |
0 |
unless $self->{'autostart'} |
237
|
0 |
0 |
unless defined $db_name |
281
|
0 |
0 |
if $waited > 10 |
294
|
0 |
0 |
if $ok |
296
|
0 |
0 |
unless $err =~ /the database system is starting up/ |