Fix contrib/hstore to throw an error for keys or values that don't fit in its

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

Commit: 6cc0e006ee613896623065195fef8a556181da6d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-03-15T22:05:25Z
Releases: 8.3.8
Fix contrib/hstore to throw an error for keys or values that don't fit in its
data structure, rather than silently truncating them.  Andrew Gierth

Files

PathChange+/−
contrib/hstore/hstore.h modified +8 −0
contrib/hstore/hstore_io.c modified +25 −6
contrib/hstore/hstore_op.c modified +4 −6
doc/src/sgml/hstore.sgml modified +7 −1