Fix getDatumCopy(): don't use store_att_byval to copy into a Datum

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

Commit: c36418be40735941ad7dffbccfd9a0414f40d657
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-07-16T00:54:22Z
Releases: 8.2.0
Fix getDatumCopy(): don't use store_att_byval to copy into a Datum
variable (this accounts for regression failures on PPC64, and in fact
won't work on any big-endian machine).  Get rid of hardwired knowledge
about datum size rules; make it look just like datumCopy().

Files

PathChange+/−
src/backend/access/gin/ginbulk.c modified +22 −25