postgresql/src/backend/optimizer/util
Tom Lane 225f0aa3df Prevent inlining a SQL function with multiple OUT parameters.
There were corner cases in which the planner would attempt to inline such
a function, which would result in a failure at runtime due to loss of
information about exactly what the result record type is.  Fix by disabling
inlining when the function's recorded result type is RECORD.  There might
be some sub-cases where inlining could still be allowed, but this is a
simple and backpatchable fix, so leave refinements for another day.
Per bug #5777 from Nate Carson.

Back-patch to all supported branches.  8.1 happens to avoid a core-dump
here, but it still does the wrong thing.
2010-12-01 00:53:18 -05:00
..
clauses.c Prevent inlining a SQL function with multiple OUT parameters. 2010-12-01 00:53:18 -05:00
joininfo.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pathnode.c Further fallout from the MergeAppend patch. 2010-11-18 00:30:10 -05:00
placeholder.c Fix PlaceHolderVar mechanism's interaction with outer joins. 2010-09-28 14:19:00 -04:00
plancat.c Simplify and speed up mapping of index opfamilies to pathkeys. 2010-11-29 12:30:43 -05:00
predtest.c Create the system catalog infrastructure needed for KNNGIST. 2010-11-24 14:22:17 -05:00
relnode.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
restrictinfo.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
tlist.c Provide hashing support for arrays. 2010-10-30 21:56:11 -04:00
var.c Reimplement planner's handling of MIN/MAX aggregate optimization. 2010-11-04 12:01:17 -04:00