Remove a couple of debugging messages that have been #ifdef'd out for ages.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Jun 2009 19:16:48 +0000 (19:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Jun 2009 19:16:48 +0000 (19:16 +0000)
Seems silly to ask translators to expend work on these, especially in
pluralized variants.

src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_tar.c

index 0245e060defe90ffd5660e6bfd65b9f8ca240356..d226a83b76690caa09c1272eddab41c67effa252 100644 (file)
@@ -1786,13 +1786,6 @@ _discoverArchiveFormat(ArchiveHandle *AH)
        else
                AH->lookaheadLen = 0;   /* Don't bother since we've reset the file */
 
-#if 0
-       write_msg(modulename, ngettext("read %lu byte into lookahead buffer\n",
-                                                                  "read %lu bytes into lookahead buffer\n",
-                                                                  AH->lookaheadLen),
-                         (unsigned long) AH->lookaheadLen);
-#endif
-
        /* Close the file */
        if (wantClose)
                if (fclose(fh) != 0)
index e92bdf53af6130b7c86fa8937aab45b9352e2121..0fab94e3083c6da6c6ac8508e1505d4cc29dd313 100644 (file)
@@ -549,13 +549,6 @@ _tarReadRaw(ArchiveHandle *AH, void *buf, size_t len, TAR_MEMBER *th, FILE *fh)
                        die_horribly(AH, modulename, "internal error -- neither th nor fh specified in tarReadRaw()\n");
        }
 
-#if 0
-       write_msg(modulename, ngettext("requested %d byte, got %d from lookahead and %d from file\n",
-                                                                  "requested %d bytes, got %d from lookahead and %d from file\n",
-                                                                  reqLen),
-                         reqLen, used, res);
-#endif
-
        ctx->tarFHpos += res + used;
 
        return (res + used);