Dropped unneeded error check
if pgut_execute fails it bails out.
This commit is contained in:
parent
2335a4da82
commit
4a3f42ab70
@ -1024,12 +1024,6 @@ repack_one_table(const repack_table *table, const char *orderby)
|
||||
* pg_locks momentarily.
|
||||
*/
|
||||
res = pgut_execute(conn2, "SELECT pg_backend_pid()", 0, NULL);
|
||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||
{
|
||||
printf("%s", PQerrorMessage(conn2));
|
||||
have_error = true;
|
||||
goto cleanup;
|
||||
}
|
||||
buffer[0] = '\0';
|
||||
strncat(buffer, PQgetvalue(res, 0, 0), sizeof(buffer) - 1);
|
||||
CLEARPGRES(res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user