pgsql/src/backend/access/heap (tuptoaster.c)

Started by Tom Laneover 25 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Date: Monday, October 23, 2000 @ 19:42:04
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/access/heap
from hub.org:/home/projects/pgsql/tmp/cvs-serv92718

Modified Files:
tuptoaster.c

----------------------------- Log Message -----------------------------

If a field is incompressible ('compressed' data is actually larger than
source, due to addition of header overhead), store it as plain data
rather than pseudo-compressed data. This saves a few microseconds when
reading it out, but much more importantly guarantees that the toaster
won't actually expand tuples that contain incompressible data. That's
essential to avoid 'Tuple too big' failures with large objects.