Package: postgresql-common
Version: 88
Severity: normal
*** Please type your report below this line ***
There are 2 error messages in pg_ctlcluster that use $pgctl instead of $pg_ctl.
The attached patch corrects these.
-- System Information:
Debian Release: lenny/sid
APT prefers stable
APT policy: (500, 'stable'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-6-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages postgresql-common depends on:
ii adduser 3.105 add and remove users and groups
ii debconf [debconf-2.0] 1.5.19 Debian configuration management sy
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii postgresql-client-common 88 manager for multiple PostgreSQL cl
ii procps 1:3.2.7-6 /proc file system utilities
ii ssl-cert 1.0.14 Simple debconf wrapper for openssl
postgresql-common recommends no packages.
-- debconf information:
postgresql-common/obsolete-major:
--- pg_ctlcluster.orig 2008-06-27 10:45:05.000000000 -0400
+++ pg_ctlcluster 2008-06-27 10:45:55.000000000 -0400
@@ -310,12 +310,12 @@
if (fork) {
wait;
- error "could not exec $pgctl @options: $!" if $?;
+ error "could not exec $pg_ctl @options: $!" if $?;
} else {
setsid or error "could not start session: $!";
dup2(POSIX::open('/dev/null', POSIX::O_WRONLY), 1);
dup2(POSIX::open('/dev/null', POSIX::O_WRONLY), 2);
- exec $pg_ctl @options or error "could not exec $pgctl @options: $!";
+ exec $pg_ctl @options or error "could not exec $pg_ctl @options: $!";
}
# wait a bit until the socket exists