12
12
* by PostgreSQL
13
13
*
14
14
* 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 $
16
16
*
17
17
*-------------------------------------------------------------------------
18
18
*/
@@ -1063,7 +1063,7 @@ dumpTableData_copy(Archive *fout, void *dcontext)
1063
1063
PQfreemem (copybuf );
1064
1064
}
1065
1065
1066
- /*
1066
+ /* ----------
1067
1067
* THROTTLE:
1068
1068
*
1069
1069
* There was considerable discussion in late July, 2000 regarding
@@ -1076,9 +1076,14 @@ dumpTableData_copy(Archive *fout, void *dcontext)
1076
1076
* implementation was suggested. The latter failed because the loop
1077
1077
* was too tight. Finally, the following was implemented:
1078
1078
*
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
1082
1087
*
1083
1088
* where the throttle value was the number of ms to sleep per ms of
1084
1089
* work. The calculation was done in each loop.
@@ -1101,6 +1106,7 @@ dumpTableData_copy(Archive *fout, void *dcontext)
1101
1106
*
1102
1107
* This will return after the interval specified in the structure tvi.
1103
1108
* Finally, call gettimeofday again to save the 'last sleep time'.
1109
+ * ----------
1104
1110
*/
1105
1111
}
1106
1112
archprintf (fout , "\\.\n\n\n" );
0 commit comments