diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-12 20:35:16 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-12 20:35:16 +0000 |
| commit | b0422b215c100bb29c1071872012a1f3c6681058 (patch) | |
| tree | a764deb63dc546abe6c0b283feac110fd22d01c4 /src/include/nodes/execnodes.h | |
| parent | ff7349694f399d0063b51419ea6e25770334f363 (diff) | |
| download | postgresql-b0422b215c100bb29c1071872012a1f3c6681058.tar.gz | |
Preliminary code review for domain CHECK constraints patch: add documentation,
make VALUE a non-reserved word again, use less invasive method of passing
ConstraintTestValue into transformExpr, fix problems with nested constraint
testing, do correct thing with NULL result from a constraint expression,
remove memory leak. Domain checks still need much more work if we are going
to allow ALTER DOMAIN, however.
Diffstat (limited to 'src/include/nodes/execnodes.h')
| -rw-r--r-- | src/include/nodes/execnodes.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index a4f10ef4c0..db8e431c76 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: execnodes.h,v 1.82 2002/12/05 15:50:38 tgl Exp $ + * $Id: execnodes.h,v 1.83 2002/12/12 20:35:13 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -82,7 +82,7 @@ typedef struct ExprContext_CB * * ecxt_per_query_memory is a relatively long-lived context (such as * TransactionCommandContext); typically it's the same context the * ExprContext node itself is allocated in. This context can be - * used for purposes such as storing operator/function fcache nodes. + * used for purposes such as storing function call cache info. * * ecxt_per_tuple_memory is a short-term context for expression results. * As the name suggests, it will typically be reset once per tuple, * before we begin to evaluate expressions for that tuple. Each @@ -112,10 +112,7 @@ typedef struct ExprContext Datum *ecxt_aggvalues; /* precomputed values for Aggref nodes */ bool *ecxt_aggnulls; /* null flags for Aggref nodes */ - /* - * Carry the domain value through the executor for application - * in a domain constraint - */ + /* Value to substitute for ConstraintTestValue nodes in expression */ Datum domainValue_datum; bool domainValue_isNull; |
