Revision 6bd3753d4d66bd78ac6d3b694910914f81212d56 authored by Tom Lane on 01 December 2010, 05:53:29 UTC, committed by Tom Lane on 01 December 2010, 05:53:29 UTC
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.
1 parent 61f8618
File | Mode | Size |
---|---|---|
config | ||
contrib | ||
doc | ||
src | ||
.gitignore | -rw-r--r-- | 233 bytes |
COPYRIGHT | -rw-r--r-- | 1.2 KB |
GNUmakefile.in | -rw-r--r-- | 4.2 KB |
Makefile | -rw-r--r-- | 1.4 KB |
README | -rw-r--r-- | 1.3 KB |
README.git | -rw-r--r-- | 820 bytes |
aclocal.m4 | -rw-r--r-- | 445 bytes |
configure | -rwxr-xr-x | 782.9 KB |
configure.in | -rw-r--r-- | 59.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...