Skip to content

Commit

Permalink
Update logerrors.c: remove tuplestore_donestoring
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke authored Aug 6, 2024
1 parent 6d83fd7 commit 546fe2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions logerrors.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,6 @@ pg_log_errors_stats(PG_FUNCTION_ARGS)
tupstore);
/* clean up */
hash_destroy(counters_hashtable);
/* return the tuplestore */
tuplestore_donestoring(tupstore);
return (Datum) 0;
}

Expand Down Expand Up @@ -753,7 +751,5 @@ pg_slow_log_stats(PG_FUNCTION_ARGS)
result_values[1] = DatumGetTimestamp(pg_atomic_read_u64(&global_variables->slow_log_info.reset_time));

tuplestore_putvalues(tupstore, tupdesc, result_values, result_nulls);
/* return the tuplestore */
tuplestore_donestoring(tupstore);
return (Datum) 0;
}

0 comments on commit 546fe2b

Please sign in to comment.