postgresql/src/include/executor
Tom Lane e5fddc5290 Fix a bug introduced when set-returning SQL functions were made inline-able:
we have to cope with the possibility that the declared result rowtype contains
dropped columns.  This fails in 8.4, as per bug #5240.

While at it, be more paranoid about inserting binary coercions when inlining.
The pre-8.4 code did not really need to worry about that because it could not
inline at all in any case where an added coercion could change the behavior
of the function's statement.  However, when inlining a SRF we allow sorting,
grouping, and set-ops such as UNION.  In these cases, modifying one of the
targetlist entries that the sort/group/setop depends on could conceivably
change the behavior of the function's statement --- so don't inline when
such a case applies.
2009-12-14 02:16:04 +00:00
..
execdebug.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
execdefs.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
execdesc.h Include a pointer to the query's source text in QueryDesc structs. This is 2009-01-02 20:42:00 +00:00
executor.h Fix error cleanup failure caused by 8.4 changes in plpgsql to try to avoid 2009-07-18 19:15:50 +00:00
functions.h Fix a bug introduced when set-returning SQL functions were made inline-able: 2009-12-14 02:16:04 +00:00
hashjoin.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
instrument.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeAgg.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeAppend.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeBitmapAnd.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeBitmapHeapscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeBitmapIndexscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeBitmapOr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeCtescan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeFunctionscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeGroup.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeHash.h Optimize multi-batch hash joins when the outer relation has a nonuniform 2009-03-21 00:04:40 +00:00
nodeHashjoin.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeIndexscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeLimit.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeMaterial.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeMergejoin.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeNestloop.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeRecursiveunion.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeResult.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeSeqscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeSetOp.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeSort.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeSubplan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeSubqueryscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeTidscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeUnique.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeValuesscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeWindowAgg.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nodeWorktablescan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
spi.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
spi_priv.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tstoreReceiver.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
tuptable.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00