| 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'} |
|
121
|
0 |
7 |
ref $this ? : |
|
125
|
7 |
0 |
unless $DBDPG |
|
127
|
7 |
0 |
if ($spec->{'bootstrap'}) |
|
128
|
7 |
0 |
unless $check{'initdb'} and -x $check{'initdb'} |
|
129
|
7 |
0 |
unless $check{'createdb'} and -x $check{'createdb'} |
|
132
|
7 |
0 |
if ($spec->{'autostart'}) |
|
133
|
7 |
0 |
unless $check{'postgres'} and -x $check{'postgres'} |
|
136
|
7 |
0 |
if ($spec->{'load_sql'}) |
|
137
|
7 |
0 |
unless $check{'psql'} and -x $check{'psql'} |
|
140
|
0 |
7 |
unless @bad |
|
155
|
0 |
0 |
unless defined $self->{'env_vars'}{'PGPORT'} |
|
164
|
0 |
0 |
if defined $cfg->{$key} |
|
173
|
0 |
0 |
if $vars->{'PGPORT'} and $vars->{'PGPORT'} eq $self->port |
|
191
|
0 |
0 |
unless open my $cf, ">", "$db_dir/postgresql.conf" |
|
194
|
0 |
0 |
unless length $val |
|
206
|
0 |
0 |
unless mkdir $db_dir |
|
226
|
0 |
0 |
if $ok |
|
228
|
0 |
0 |
if $try == 5 |
|
233
|
0 |
0 |
unless $self->{'autostart'} |
|
259
|
0 |
0 |
unless $self->started |
|
274
|
0 |
0 |
unless defined $db_name |
|
318
|
0 |
0 |
if $waited > 10 |
|
331
|
0 |
0 |
if $ok |
|
333
|
0 |
0 |
unless $err =~ /the database system is starting up/ |