Add an extra header byte to TOAST-pointer datums to represent their size
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Sep 2007 19:54:58 +0000 (19:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Sep 2007 19:54:58 +0000 (19:54 +0000)
commit10f50fe4d9fa8fa421cb1dfaa33f929666fe7680
treebd5f369cf205d6384eba25844820826354d8faf0
parentda2bda0d1aa9d2b1b01282a4ec165c98e62b7839
Add an extra header byte to TOAST-pointer datums to represent their size
explicitly.  This means a TOAST pointer takes 18 bytes instead of 17 --- still
smaller than in 8.2 --- which seems a good tradeoff to ensure we won't have
painted ourselves into a corner if we want to support multiple types of TOAST
pointer later on.  Per discussion with Greg Stark.
doc/src/sgml/storage.sgml
src/backend/access/heap/tuptoaster.c
src/include/catalog/catversion.h
src/include/postgres.h