Commit ad44c958 authored by Neil Conway's avatar Neil Conway

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.
parent 4f09b55d
......@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.468 2007/05/11 17:57:12 tgl Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.469 2007/07/12 23:25:26 neilc Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -1063,7 +1063,7 @@ dumpTableData_copy(Archive *fout, void *dcontext)
PQfreemem(copybuf);
}
/*
/* ----------
* THROTTLE:
*
* There was considerable discussion in late July, 2000 regarding
......@@ -1076,9 +1076,14 @@ dumpTableData_copy(Archive *fout, void *dcontext)
* implementation was suggested. The latter failed because the loop
* was too tight. Finally, the following was implemented:
*
* If throttle is non-zero, then See how long since the last sleep.
* Work out how long to sleep (based on ratio). If sleep is more than
* 100ms, then sleep reset timer EndIf EndIf
* If throttle is non-zero, then
* See how long since the last sleep.
* Work out how long to sleep (based on ratio).
* If sleep is more than 100ms, then
* sleep
* reset timer
* EndIf
* EndIf
*
* where the throttle value was the number of ms to sleep per ms of
* work. The calculation was done in each loop.
......@@ -1101,6 +1106,7 @@ dumpTableData_copy(Archive *fout, void *dcontext)
*
* This will return after the interval specified in the structure tvi.
* Finally, call gettimeofday again to save the 'last sleep time'.
* ----------
*/
}
archprintf(fout, "\\.\n\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment