Skip Menu |

This queue is for tickets about the Test-postgresql CPAN distribution.

Report information
The Basics
Id: 49090
Status: resolved
Priority: 0/
Queue: Test-postgresql

People
Owner: Nobody in particular
Requestors: HSW [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



"postmaster_args" not used on postmaster start. sub _try_start { ... exec( $self->postmaster, '-p', $port, '-D', $self->base_dir . '/data', );
This patch solve problem.
--- /usr/local/share/perl/5.10.0/Test/postgresql.pm.orig 2009-08-29 16:42:57.000000000 +0400 +++ /usr/local/share/perl/5.10.0/Test/postgresql.pm 2009-08-29 16:44:31.000000000 +0400 @@ -113,11 +113,14 @@ setuid($self->uid) or die "setuid failed:$!"; } - exec( + my $cmd = join( + ' ', $self->postmaster, + $self->postmaster_args, '-p', $port, '-D', $self->base_dir . '/data', ); + exec($cmd); die "failed to launch postmaster:$?"; } close $logfh;
Thank you for the report. Applied your patch in 0.06.