Added missing PQclear().
reported by josh.
This commit is contained in:
parent
5e48cf02f9
commit
55ee42bebf
@ -427,6 +427,7 @@ reorg_one_table(const reorg_table *table, const char *orderby)
|
|||||||
(errcode(E_PG_COMMAND),
|
(errcode(E_PG_COMMAND),
|
||||||
errmsg("trigger %s conflicted for %s",
|
errmsg("trigger %s conflicted for %s",
|
||||||
PQgetvalue(res, 0, 0), table->target_name)));
|
PQgetvalue(res, 0, 0), table->target_name)));
|
||||||
|
PQclear(res);
|
||||||
|
|
||||||
command(table->create_pktype, 0, NULL);
|
command(table->create_pktype, 0, NULL);
|
||||||
command(table->create_log, 0, NULL);
|
command(table->create_log, 0, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user