aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-06-04 19:16:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-06-04 19:16:48 +0000
commit20d4005c306eaaaf3e0a61d9d7ab369a91f81ed1 (patch)
tree6cf66c2c0b05fede993287e09a7dd0f3493da6c8 /src
parent76d4abf2d974ffa578ddc7ff40984cc05c1d48b1 (diff)
downloadpostgresql-20d4005c306eaaaf3e0a61d9d7ab369a91f81ed1.tar.gz
postgresql-20d4005c306eaaaf3e0a61d9d7ab369a91f81ed1.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.c9
-rw-r--r--src/bin/pg_dump/pg_backup_tar.c9
2 files changed, 2 insertions, 16 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index 9231f96bc27..c2d294da1d5 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.170 2009/04/12 21:02:44 adunstan Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.171 2009/06/04 19:16:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -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 972b0b2fd67..9b5a41ac20e 100644
--- a/src/bin/pg_dump/pg_backup_tar.c
+++ b/src/bin/pg_dump/pg_backup_tar.c
@@ -16,7 +16,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.64 2009/03/26 22:26:07 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.65 2009/06/04 19:16:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -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);