check_exclusion_constraint didn't actually work correctly for index

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2b59274c0925ca980748edf57723f3c3e026f619
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-02T17:53:57Z
Releases: 9.0.0
check_exclusion_constraint didn't actually work correctly for index
expressions: FormIndexDatum requires the estate's scantuple to already point
at the tuple the values are supposedly being extracted from.  Adjust test
case so that this type of confusion will be exposed.
Per report from hubert depesz lubaczewski.

Files