postgresql/src
Tom Lane 8c21b4e922 Avoid an Assert failure in deconstruct_array() by making get_attstatsslot()
use the actual element type of the array it's disassembling, rather than
trusting the type OID passed in by its caller.  This is needed because
sometimes the planner passes in a type OID that's only binary-compatible
with the target column's type, rather than being an exact match.  Per an
example from Bernd Helmle.

Possibly we should refactor get_attstatsslot/free_attstatsslot to not expect
the caller to supply type ID data at all, but for now I'll just do the
minimum-change fix.

Back-patch to 7.4.  Bernd's test case only crashes back to 8.0, but since
these subroutines are the same in 7.4, I suspect there may be variant
cases that would crash 7.4 as well.
2010-07-09 22:58:01 +00:00
..
backend Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() 2010-07-09 22:58:01 +00:00
bin Fix psql to not go into infinite recursion when expanding a variable that 2010-05-05 22:19:11 +00:00
include The previous fix in CVS HEAD and 8.4 for handling the case where a cursor 2010-07-05 09:27:31 +00:00
interfaces Data returned by RETURNING clause wasn't correctly processed by ecpg. Patch backported from HEAD. 2010-06-04 10:48:34 +00:00
makefiles Teach pgxs.mk and Install.pm how to install files from a contrib module 2007-10-16 16:00:00 +00:00
pl The previous fix in CVS HEAD and 8.4 for handling the case where a cursor 2010-07-05 09:27:31 +00:00
port tag 8.3.11 2010-05-14 03:27:08 +00:00
template Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
test Fix "cannot handle unplanned sub-select" error that can occur when a 2010-07-08 00:14:16 +00:00
timezone Change the "N. Central Asia Standard Time" timezone to map to 2010-05-20 14:13:20 +00:00
tools Fix regression test name for plperlu_plperl in msvc. 2010-06-03 11:04:12 +00:00
tutorial Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
Makefile.global.in I find that an out-of-the-box installation of OSSP uuid 1.6.0 installs 2007-11-13 00:13:19 +00:00
Makefile.shlib Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the 2007-02-20 22:45:57 +00:00
nls-global.mk When merging PO files, take into consideration translations in other PO 2006-04-05 13:40:15 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00