]> granicus.if.org Git - postgresql/commitdiff
Fixup the indentation of a comment that was mangled by pgindent, and
authorNeil Conway <neilc@samurai.com>
Thu, 12 Jul 2007 23:25:26 +0000 (23:25 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 12 Jul 2007 23:25:26 +0000 (23:25 +0000)
add dashes to the start/end of the comment block to try to prevent
this happening in the future.

src/bin/pg_dump/pg_dump.c

index 64c26c16fbea927b35a4ae682c043880fee48575..ee7b6bca790aa6121efe582fa8a7666457397bd1 100644 (file)
@@ -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");