Skip to content

Commit 2ba1a57

Browse files
schmiddydvarrazzo
authored andcommitted
Add missing PQclear(), and comment touchups.
Fixed by Daniele: PQclear already committed, only left the comments touchups.
1 parent 957e5ed commit 2ba1a57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/pg_reorg.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ reorg_one_table(const reorg_table *table, const char *orderby)
439439
/*
440440
* Register the table to be dropped on error. We use pktype as
441441
* an advisory lock. The registration should be done after
442-
* the first command is succeeded.
442+
* the first command succeeds.
443443
*/
444444
pgut_atexit_push(&reorg_cleanup, (void *) table);
445445

@@ -496,8 +496,8 @@ reorg_one_table(const reorg_table *table, const char *orderby)
496496
PQclear(res);
497497

498498
/*
499-
* 4. Apply log to temp table until no tuples left in the log
500-
* and all of old transactions are finished.
499+
* 4. Apply log to temp table until no tuples are left in the log
500+
* and all of the old transactions are finished.
501501
*/
502502
for (;;)
503503
{
@@ -517,7 +517,7 @@ reorg_one_table(const reorg_table *table, const char *orderby)
517517
continue; /* wait for old transactions */
518518
}
519519

520-
/* ok, go next step. */
520+
/* ok, go to next step. */
521521
break;
522522
}
523523

0 commit comments

Comments
 (0)