Skip to content

Commit 9d776b3

Browse files
committed
Likely fix for Issue #4 -- make sure params[] is long enough for two strings.
1 parent 6fc41e9 commit 9d776b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pg_repack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ static void
565565
repack_one_table(const repack_table *table, const char *orderby)
566566
{
567567
PGresult *res;
568-
const char *params[1];
568+
const char *params[2];
569569
int num;
570570
int i;
571571
int num_waiting = 0;

0 commit comments

Comments
 (0)