mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
New SubPlan node for subselects.
New PARAM_EXEC type.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: params.h,v 1.6 1997/09/08 21:52:48 momjian Exp $
|
||||
* $Id: params.h,v 1.7 1998/02/13 03:45:24 vadim Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -36,12 +36,16 @@
|
||||
*
|
||||
* PARAM_OLD: Same as PARAM_NEW, but in this case we refer to
|
||||
* the "OLD" tuple.
|
||||
*
|
||||
* PARAM_EXEC: Evaluated by executor. Used for subselect...
|
||||
*
|
||||
*/
|
||||
|
||||
#define PARAM_NAMED 11
|
||||
#define PARAM_NUM 12
|
||||
#define PARAM_NEW 13
|
||||
#define PARAM_OLD 14
|
||||
#define PARAM_EXEC 15
|
||||
#define PARAM_INVALID 100
|
||||
|
||||
|
||||
@@ -87,4 +91,11 @@ typedef struct ParamListInfoData
|
||||
|
||||
typedef ParamListInfoData *ParamListInfo;
|
||||
|
||||
typedef struct ParamExecData
|
||||
{
|
||||
void *execPlan; /* plan must be executed to get param value */
|
||||
Datum value;
|
||||
bool isnull;
|
||||
} ParamExecData;
|
||||
|
||||
#endif /* PARAMS_H */
|
||||
|
||||
Reference in New Issue
Block a user