Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit20d4005

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 inpluralized variants.
1 parent76d4abf commit20d4005

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-
#if0
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-
#if0
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)

[8]ページ先頭

©2009-2025 Movatter.jp