Skip to content

Commit 20d4005

Browse files
committed
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.
1 parent 76d4abf commit 20d4005

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.170 2009/04/12 21:02:44 adunstan Exp $
18+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.171 2009/06/04 19:16:48 tgl Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -1786,13 +1786,6 @@ _discoverArchiveFormat(ArchiveHandle *AH)
17861786
else
17871787
AH->lookaheadLen = 0; /* Don't bother since we've reset the file */
17881788

1789-
#if 0
1790-
write_msg(modulename, ngettext("read %lu byte into lookahead buffer\n",
1791-
"read %lu bytes into lookahead buffer\n",
1792-
AH->lookaheadLen),
1793-
(unsigned long) AH->lookaheadLen);
1794-
#endif
1795-
17961789
/* Close the file */
17971790
if (wantClose)
17981791
if (fclose(fh) != 0)

src/bin/pg_dump/pg_backup_tar.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*
1818
* IDENTIFICATION
19-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.64 2009/03/26 22:26:07 petere Exp $
19+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.65 2009/06/04 19:16:48 tgl Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -549,13 +549,6 @@ _tarReadRaw(ArchiveHandle *AH, void *buf, size_t len, TAR_MEMBER *th, FILE *fh)
549549
die_horribly(AH, modulename, "internal error -- neither th nor fh specified in tarReadRaw()\n");
550550
}
551551

552-
#if 0
553-
write_msg(modulename, ngettext("requested %d byte, got %d from lookahead and %d from file\n",
554-
"requested %d bytes, got %d from lookahead and %d from file\n",
555-
reqLen),
556-
reqLen, used, res);
557-
#endif
558-
559552
ctx->tarFHpos += res + used;
560553

561554
return (res + used);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy