From 2ba1a575acf7f5f1364aef33a0c46abc6303c132 Mon Sep 17 00:00:00 2001 From: Josh Kupershmidt Date: Wed, 12 Sep 2012 21:16:55 -0700 Subject: [PATCH] Add missing PQclear(), and comment touchups. Fixed by Daniele: PQclear already committed, only left the comments touchups. --- bin/pg_reorg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/pg_reorg.c b/bin/pg_reorg.c index b046654..eac79bc 100755 --- a/bin/pg_reorg.c +++ b/bin/pg_reorg.c @@ -439,7 +439,7 @@ reorg_one_table(const reorg_table *table, const char *orderby) /* * Register the table to be dropped on error. We use pktype as * an advisory lock. The registration should be done after - * the first command is succeeded. + * the first command succeeds. */ pgut_atexit_push(&reorg_cleanup, (void *) table); @@ -496,8 +496,8 @@ reorg_one_table(const reorg_table *table, const char *orderby) PQclear(res); /* - * 4. Apply log to temp table until no tuples left in the log - * and all of old transactions are finished. + * 4. Apply log to temp table until no tuples are left in the log + * and all of the old transactions are finished. */ for (;;) { @@ -517,7 +517,7 @@ reorg_one_table(const reorg_table *table, const char *orderby) continue; /* wait for old transactions */ } - /* ok, go next step. */ + /* ok, go to next step. */ break; }