From 145014f81151a12ac6a0f8e299899c4f60e0f8c1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 9 Feb 2003 00:30:41 +0000 Subject: Make further use of new bitmapset code: executor's chgParam, extParam, locParam lists can be converted to bitmapsets to speed updating. Also, replace 'locParam' with 'allParam', which contains all the paramIDs relevant to the node (i.e., the union of extParam and locParam); this saves a step during SetChangedParamList() without costing anything elsewhere. --- src/backend/executor/nodeSubqueryscan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/executor/nodeSubqueryscan.c') diff --git a/src/backend/executor/nodeSubqueryscan.c b/src/backend/executor/nodeSubqueryscan.c index c5ad1e9cd5f..ba4804fcebb 100644 --- a/src/backend/executor/nodeSubqueryscan.c +++ b/src/backend/executor/nodeSubqueryscan.c @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/nodeSubqueryscan.c,v 1.17 2003/01/12 22:01:38 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/nodeSubqueryscan.c,v 1.18 2003/02/09 00:30:39 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -261,10 +261,10 @@ ExecSubqueryReScan(SubqueryScanState *node, ExprContext *exprCtxt) * ExecReScan doesn't know about my subplan, so I have to do * changed-parameter signaling myself. This is just as well, * because the subplan has its own memory context in which its - * chgParam lists live. + * chgParam state lives. */ if (node->ss.ps.chgParam != NULL) - SetChangedParamList(node->subplan, node->ss.ps.chgParam); + UpdateChangedParamSet(node->subplan, node->ss.ps.chgParam); /* * if chgParam of subnode is not null then plan will be re-scanned by -- cgit v1.2.3