From: Tom Lane Date: Thu, 4 Jun 2009 19:16:48 +0000 (+0000) Subject: Remove a couple of debugging messages that have been #ifdef'd out for ages. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=2c192e5dcb740fee28427475b8e77b163775f634;p=users%2Fsimon%2Fpostgres.git Remove a couple of debugging messages that have been #ifdef'd out for ages. Seems silly to ask translators to expend work on these, especially in pluralized variants. --- diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index 0245e060de..d226a83b76 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -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) diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index e92bdf53af..0fab94e308 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -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);