Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf173e40

Browse files
committed
clean context using ResetExprContext
1 parentcccc65c commitf173e40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎runtime_merge_append.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include"optimizer/var.h"
2121
#include"miscadmin.h"
2222
#include"utils/lsyscache.h"
23+
#include"utils/memutils.h"
2324

2425
#include"lib/binaryheap.h"
2526

@@ -347,6 +348,8 @@ runtimemergeappend_exec(CustomScanState *node)
347348
quals=ExecQual(rstate->custom_expr_states,
348349
node->ss.ps.ps_ExprContext, false);
349350

351+
ResetExprContext(node->ss.ps.ps_ExprContext);
352+
350353
if (quals)
351354
{
352355
binaryheap_replace_first(scan_state->ms_heap,Int32GetDatum(i));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp