| line |
true |
false |
branch |
|
41
|
0 |
0 |
unless my $type = builtin::reftype($arg) |
|
42
|
0 |
0 |
unless $type eq "HASH" |
|
45
|
0 |
0 |
if $binary = $arg->{'postgres'} |
|
111
|
0 |
7 |
ref $this ? : |
|
115
|
7 |
0 |
unless $DBDPG |
|
117
|
7 |
0 |
if ($spec->{'bootstrap'}) |
|
118
|
7 |
0 |
unless $check{'initdb'} and -x $check{'initdb'} |
|
119
|
7 |
0 |
unless $check{'createdb'} and -x $check{'createdb'} |
|
122
|
7 |
0 |
if ($spec->{'autostart'}) |
|
123
|
7 |
0 |
unless $check{'postgres'} and -x $check{'postgres'} |
|
126
|
7 |
0 |
if ($spec->{'load_sql'}) |
|
127
|
7 |
0 |
unless $check{'psql'} and -x $check{'psql'} |
|
130
|
0 |
7 |
unless @bad |
|
145
|
0 |
0 |
unless defined $self->{'env_vars'}{'PGPORT'} |
|
154
|
0 |
0 |
if defined $cfg->{$key} |
|
163
|
0 |
0 |
if $vars->{'PGPORT'} and $vars->{'PGPORT'} eq $self->port |
|
181
|
0 |
0 |
unless open my $cf, ">", "$db_dir/postgresql.conf" |
|
184
|
0 |
0 |
unless length $val |
|
196
|
0 |
0 |
unless mkdir $db_dir |
|
216
|
0 |
0 |
if $ok |
|
218
|
0 |
0 |
if $try == 5 |
|
223
|
0 |
0 |
unless $self->{'autostart'} |
|
243
|
0 |
0 |
unless defined $db_name |
|
287
|
0 |
0 |
if $waited > 10 |
|
300
|
0 |
0 |
if $ok |
|
302
|
0 |
0 |
unless $err =~ /the database system is starting up/ |