]> granicus.if.org Git - postgresql/commit
If a field is incompressible ('compressed' data is actually larger than
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Oct 2000 23:42:04 +0000 (23:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Oct 2000 23:42:04 +0000 (23:42 +0000)
commitdea7d54151991f372f160332db89ef314cde82d0
treef003c232983d1e92c24619baaec8cf147dc25865
parent62bc33df00ef2c4c795396dfc3aa725f68acc30f
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.
src/backend/access/heap/tuptoaster.c