From: Neil Conway Date: Thu, 12 Jul 2007 23:25:26 +0000 (+0000) Subject: Fixup the indentation of a comment that was mangled by pgindent, and X-Git-Tag: REL8_3_BETA1~461 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad44c958258ce7b835c872096c70303cb951a3e5;p=postgresql 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. --- diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 64c26c16fb..ee7b6bca79 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -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");