Improved code [skip ci]

This commit is contained in:
Andrew Kane
2024-03-27 21:38:22 -07:00
parent ba18942fcf
commit 396090d8e0

View File

@@ -105,7 +105,7 @@ SampleCallback(Relation index, CALLBACK_ITEM_POINTER, Datum *values,
oldCtx = MemoryContextSwitchTo(buildstate->tmpCtx);
/* Add sample */
AddSample(values, state);
AddSample(values, buildstate);
/* Reset memory context */
MemoryContextSwitchTo(oldCtx);