summaryrefslogtreecommitdiff
path: root/src/include/executor/executor.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-08-24 23:34:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-08-24 23:34:11 +0000
commit481487b9647c02b83a7701a0b513e9437c380ccd (patch)
treef3ab3d5858926e19bc2889a8ef730e28e511866a /src/include/executor/executor.h
parentd9eb7d8fa1b841da4799b907ac2d97f8bcf5cf87 (diff)
GetAttributeByName and GetAttributeByNum should be declared to return
Datum, not char*, for portability's sake.
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r--src/include/executor/executor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h
index e39a60a6a24..5eb7cbb93ba 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.49 2000/08/24 03:29:10 tgl Exp $
+ * $Id: executor.h,v 1.50 2000/08/24 23:34:09 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -74,9 +74,9 @@ extern void ExecEndNode(Plan *node, Plan *parent);
*/
extern Datum ExecEvalParam(Param *expression, ExprContext *econtext,
bool *isNull);
-extern char *GetAttributeByNum(TupleTableSlot *slot, AttrNumber attrno,
- bool *isNull);
-extern char *GetAttributeByName(TupleTableSlot *slot, char *attname,
+extern Datum GetAttributeByNum(TupleTableSlot *slot, AttrNumber attrno,
+ bool *isNull);
+extern Datum GetAttributeByName(TupleTableSlot *slot, char *attname,
bool *isNull);
extern Datum ExecMakeFunctionResult(FunctionCachePtr fcache,
List *arguments,