Make sure that GIN fast-insert and regular code paths enforce the same

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

Commit: c3110e49b1601941e0173e8d75378f943b4ca6fd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-10-02T21:14:11Z
Releases: 8.4.2
Make sure that GIN fast-insert and regular code paths enforce the same
tuple size limit.  Improve the error message for index-tuple-too-large
so that it includes the actual size, the limit, and the index name.
Sync with the btree occurrences of the same error.

Back-patch to 8.4 because it appears that the out-of-sync problem
is occurring in the field.

Teodor and Tom

Files