Revise sinval code to remove no-longer-used tuple TID from inval messages.

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

Commit: b5282aa893e565b7844f8237462cb843438cdd5e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-08-16T23:27:46Z
Releases: 9.2.0
Revise sinval code to remove no-longer-used tuple TID from inval messages.

This requires adjusting the API for syscache callback functions: they now
get a hash value, not a TID, to identify the target tuple.  Most of them
weren't paying any attention to that argument anyway, but plancache did
require a small amount of fixing.

Also, improve performance a trifle by avoiding sending duplicate inval
messages when a heap_update isn't changing the catcache lookup columns.

Files