diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-21 20:55:31 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-21 20:55:31 +0000 |
commit | 7893462e44756a0ab110e43b4c5c41a5e96e6883 (patch) | |
tree | 3fce05260862761324fedb2a6fdf27e07b255b3a /src/include/executor/executor.h | |
parent | 469673f96638b9279844538a89c75b5295b62a78 (diff) |
Move pg_checkretval out of the planner (where it never belonged) into
pg_proc.c (where it's actually used). Fix it to correctly handle tlists
that contain resjunk target items, and improve error messages. This
addresses bug reported by Krupnikov 6-July-00.
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 7849e87a78a..ea589e06dd9 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.47 2000/08/06 04:26:27 tgl Exp $ + * $Id: executor.h,v 1.48 2000/08/21 20:55:29 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -84,6 +84,7 @@ extern Datum ExecEvalExprSwitchContext(Node *expression, ExprContext *econtext, bool *isNull, bool *isDone); extern bool ExecQual(List *qual, ExprContext *econtext, bool resultForNull); extern int ExecTargetListLength(List *targetlist); +extern int ExecCleanTargetListLength(List *targetlist); extern TupleTableSlot *ExecProject(ProjectionInfo *projInfo, bool *isDone); /* |