remove_meaningless_code.patch

application/octet-stream

Filename: remove_meaningless_code.patch
Type: application/octet-stream
Part: 0
Message: 回复:BUG #19073: there are meaningless code in _SPI_execute_plan() when canSetTag is true

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/backend/executor/spi.c 0 1
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c
index ecb2e4ccaa1..23143cc48d3 100644
--- a/src/backend/executor/spi.c
+++ b/src/backend/executor/spi.c
@@ -2773,7 +2773,6 @@ _SPI_execute_plan(SPIPlanPtr plan, const SPIExecuteOptions *options,
 			if (canSetTag)
 			{
 				my_processed = _SPI_current->processed;
-				SPI_freetuptable(my_tuptable);
 				my_tuptable = _SPI_current->tuptable;
 				my_res = res;
 			}