Skip to content

Commit

Permalink
Merge pull request #28 from reshke/patch-2
Browse files Browse the repository at this point in the history
Update logerrors.c: remove tuplestore_donestoring
  • Loading branch information
munakoiso authored Aug 7, 2024
2 parents 6d83fd7 + 546fe2b commit 79e629b
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 79e629b

Please sign in to comment.