Added missing PQclear().

reported by josh.
This commit is contained in:
Masahiko Sakamoto 2012-09-20 07:17:26 +00:00
parent 5e48cf02f9
commit 55ee42bebf

View File

@ -427,6 +427,7 @@ reorg_one_table(const reorg_table *table, const char *orderby)
(errcode(E_PG_COMMAND),
errmsg("trigger %s conflicted for %s",
PQgetvalue(res, 0, 0), table->target_name)));
PQclear(res);
command(table->create_pktype, 0, NULL);
command(table->create_log, 0, NULL);