postgresql/src/backend
Tom Lane 5ce63f480b 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:57:39 +00:00
..
access Update obsolete comment. Noted by Josh Tolley. 2010-07-08 16:08:30 +00:00
bootstrap Move the responsibility for calling StartupXLOG into InitPostgres, for 2010-04-20 01:38:52 +00:00
catalog pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
commands pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
executor Add a hook in ExecCheckRTPerms(). 2010-07-09 14:06:01 +00:00
foreign
lib pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
libpq Make the Windows tcp keepalive support depend on the existance of the 2010-07-08 16:19:50 +00:00
main
nodes
optimizer Fix "cannot handle unplanned sub-select" error that can occur when a 2010-07-08 00:14:04 +00:00
parser pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
po Translation updates for 9.0beta3 2010-07-08 21:32:28 +00:00
port pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
postmaster pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
regex
replication pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
rewrite
snowball
storage Make log_temp_files based on kB, and revert docs & comments to match. 2010-07-06 22:55:26 +00:00
tcop pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
tsearch pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
utils Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() 2010-07-09 22:57:39 +00:00
common.mk
Makefile Split the LDFLAGS make variable into two parts: LDFLAGS is now used for 2010-07-05 18:54:38 +00:00
nls.mk