mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
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.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.240 2003/02/08 20:20:53 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.241 2003/02/09 00:30:39 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -120,8 +120,8 @@ CopyPlanFields(Plan *from, Plan *newnode)
|
||||
COPY_NODE_FIELD(lefttree);
|
||||
COPY_NODE_FIELD(righttree);
|
||||
COPY_NODE_FIELD(initPlan);
|
||||
COPY_INTLIST_FIELD(extParam);
|
||||
COPY_INTLIST_FIELD(locParam);
|
||||
COPY_BITMAPSET_FIELD(extParam);
|
||||
COPY_BITMAPSET_FIELD(allParam);
|
||||
COPY_SCALAR_FIELD(nParamExec);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user