]> granicus.if.org Git - pgm/commitdiff
use %s in show queue, keys can be text
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 3 Oct 2021 22:29:16 +0000 (17:29 -0500)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 3 Oct 2021 22:29:16 +0000 (17:29 -0500)
show

diff --git a/show b/show
index dfc693e6af1ac5a6fc52b71867ffd12decebc156..84a4df5f9fbdcf6f5724b43f77657d1cc817cd88 100755 (executable)
--- a/show
+++ b/show
@@ -60,7 +60,7 @@ if ($what eq 'locks') {
                });
        }
        $q->execute(@args);
-       $fmt = "%s/%d %s %d-%d";
+       $fmt = "%s/%d %s %s-%s";
 }
 elsif ($what eq 'hash') {
        $q = $db->prepare(q{select migration.table_hash(?::regclass)});