Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ad44c95

Browse files
author
Neil Conway
committed
Fixup the indentation of a comment that was mangled by pgindent, and
add dashes to the start/end of the comment block to try to prevent this happening in the future.
1 parent 4f09b55 commit ad44c95

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/bin/pg_dump/pg_dump.c

+11-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.468 2007/05/11 17:57:12 tgl Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.469 2007/07/12 23:25:26 neilc Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -1063,7 +1063,7 @@ dumpTableData_copy(Archive *fout, void *dcontext)
10631063
PQfreemem(copybuf);
10641064
}
10651065

1066-
/*
1066+
/* ----------
10671067
* THROTTLE:
10681068
*
10691069
* There was considerable discussion in late July, 2000 regarding
@@ -1076,9 +1076,14 @@ dumpTableData_copy(Archive *fout, void *dcontext)
10761076
* implementation was suggested. The latter failed because the loop
10771077
* was too tight. Finally, the following was implemented:
10781078
*
1079-
* If throttle is non-zero, then See how long since the last sleep.
1080-
* Work out how long to sleep (based on ratio). If sleep is more than
1081-
* 100ms, then sleep reset timer EndIf EndIf
1079+
* If throttle is non-zero, then
1080+
* See how long since the last sleep.
1081+
* Work out how long to sleep (based on ratio).
1082+
* If sleep is more than 100ms, then
1083+
* sleep
1084+
* reset timer
1085+
* EndIf
1086+
* EndIf
10821087
*
10831088
* where the throttle value was the number of ms to sleep per ms of
10841089
* work. The calculation was done in each loop.
@@ -1101,6 +1106,7 @@ dumpTableData_copy(Archive *fout, void *dcontext)
11011106
*
11021107
* This will return after the interval specified in the structure tvi.
11031108
* Finally, call gettimeofday again to save the 'last sleep time'.
1109+
* ----------
11041110
*/
11051111
}
11061112
archprintf(fout, "\\.\n\n\n");

0 commit comments

Comments
 (0)