diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-01-01 23:03:10 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-01-01 23:03:10 +0000 |
commit | 7839d35991f1c79a291e67635d5f4c5750c16e9b (patch) | |
tree | 98f44976c68f2ac0b707f4efcc8f3949cdc9ac68 /src/include/nodes/execnodes.h | |
parent | 29c4ad98293e3c5cb3fcdd413a3f4904efff8762 (diff) |
Add an "argisrow" field to NullTest nodes, following a plan made way back in
8.2beta but never carried out. This avoids repetitive tests of whether the
argument is of scalar or composite type. Also, be a bit more paranoid about
composite arguments in some places where we previously weren't checking.
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index ac11b496fcf..12cfcc4fdfa 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/execnodes.h,v 1.214 2009/12/15 04:57:48 rhaas Exp $ + * $PostgreSQL: pgsql/src/include/nodes/execnodes.h,v 1.215 2010/01/01 23:03:10 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -886,8 +886,7 @@ typedef struct NullTestState { ExprState xprstate; ExprState *arg; /* input expression */ - bool argisrow; /* T if input is of a composite type */ - /* used only if argisrow: */ + /* used only if input is of composite type: */ TupleDesc argdesc; /* tupdesc for most recent input */ } NullTestState; |