From 62e29fe2e748933bfd8ab1429518ee7b5a8974a7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 8 Aug 2000 15:43:12 +0000 Subject: Remove 'func_tlist' from Func expression nodes, likewise 'param_tlist' from Param nodes, per discussion a few days ago on pghackers. Add new expression node type FieldSelect that implements the functionality where it's actually needed. Clean up some other unused fields in Func nodes as well. NOTE: initdb forced due to change in stored expression trees for rules. --- src/include/utils/fcache.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/include/utils/fcache.h') diff --git a/src/include/utils/fcache.h b/src/include/utils/fcache.h index 59f35867a7..efae761395 100644 --- a/src/include/utils/fcache.h +++ b/src/include/utils/fcache.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: fcache.h,v 1.12 2000/07/12 02:37:35 tgl Exp $ + * $Id: fcache.h,v 1.13 2000/08/08 15:43:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -29,8 +29,9 @@ typedef struct int typlen; /* length of the return type */ bool typbyval; /* true if return type is pass by value */ - bool oneResult; /* true we only want 1 result from the - * function */ + bool returnsTuple; /* true if return type is a tuple */ + bool returnsSet; /* true if func returns a set (multi rows) */ + bool hasSetArg; /* true if func is part of a nested dot * expr whose argument is func returning a * set ugh! */ -- cgit v1.2.1