mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 00:01:57 -04:00
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.
This commit is contained in:
parent
4f09b55dc3
commit
ad44c95825
@ -12,7 +12,7 @@
|
|||||||
* by PostgreSQL
|
* by PostgreSQL
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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);
|
PQfreemem(copybuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* ----------
|
||||||
* THROTTLE:
|
* THROTTLE:
|
||||||
*
|
*
|
||||||
* There was considerable discussion in late July, 2000 regarding
|
* 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
|
* implementation was suggested. The latter failed because the loop
|
||||||
* was too tight. Finally, the following was implemented:
|
* was too tight. Finally, the following was implemented:
|
||||||
*
|
*
|
||||||
* If throttle is non-zero, then See how long since the last sleep.
|
* If throttle is non-zero, then
|
||||||
* Work out how long to sleep (based on ratio). If sleep is more than
|
* See how long since the last sleep.
|
||||||
* 100ms, then sleep reset timer EndIf EndIf
|
* 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
|
* where the throttle value was the number of ms to sleep per ms of
|
||||||
* work. The calculation was done in each loop.
|
* 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.
|
* This will return after the interval specified in the structure tvi.
|
||||||
* Finally, call gettimeofday again to save the 'last sleep time'.
|
* Finally, call gettimeofday again to save the 'last sleep time'.
|
||||||
|
* ----------
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
archprintf(fout, "\\.\n\n\n");
|
archprintf(fout, "\\.\n\n\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user