[Pkg-postgresql-public] Bug#778243: "pg_conftool remove" is broken

Christoph Berg myon at debian.org
Thu Feb 12 17:05:10 UTC 2015


Package: postgresql-common
Version: 155
Severity: important
Tags: patch pending

"pg_conftool remove" is broken. The command requires one argument
(the setting to remove/disable), but the parser wants two arguments.

This trivial patch fixes this:

=== modified file 'debian/changelog'
--- debian/changelog	2015-02-05 21:19:24 +0000
+++ debian/changelog	2015-02-12 16:22:17 +0000
@@ -1,3 +1,9 @@
+postgresql-common (167) UNRELEASED; urgency=medium
+
+  * pg_conftool: Fix 'remove' operation. Spotted by François Henry, merci!
+
+ -- Christoph Berg <myon at debian.org>  Thu, 12 Feb 2015 17:21:25 +0100
+
 postgresql-common (166) unstable; urgency=medium
 
   * postgresql-common: Breaks: systemd (<< 204). postgresql at .service uses

=== modified file 'pg_conftool'
--- pg_conftool	2015-02-03 14:52:23 +0000
+++ pg_conftool	2015-02-12 16:22:17 +0000
@@ -84,7 +84,7 @@
 if ($ARGV[0] =~ /^(edit)$/) {
     help(1, "$ARGV[0] takes no argument") unless (@ARGV == 1);
     ($cmd) = @ARGV;
-} elsif ($ARGV[0] =~ /^(show|disable)$/) {
+} elsif ($ARGV[0] =~ /^(show|remove)$/) {
     help(1, "$ARGV[0] needs exactly one argument") unless (@ARGV == 2);
     ($cmd, $key) = @ARGV;
 } else {


Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20150212/8a9961fc/attachment.sig>


More information about the Pkg-postgresql-public mailing list