]> granicus.if.org Git - postgresql/commit
Cleanup for pglz_compress code: remove dead code, const-ify API of
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Oct 2006 23:33:33 +0000 (23:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Oct 2006 23:33:33 +0000 (23:33 +0000)
commit378c79dc78346ca8b54719ae33f99dc16152e2db
treee5d0ca7afea0d6f70f87fc65c443c9b6cb717dcf
parente378f82e0029a7a6fda9c655bd79d4404e566c0b
Cleanup for pglz_compress code: remove dead code, const-ify API of
remaining functions, simplify pglz_compress's API to not require a useless
data copy when compression fails.  Also add a check in pglz_decompress that
the expected amount of data was decompressed.
src/backend/access/heap/tuptoaster.c
src/backend/utils/adt/pg_lzcompress.c
src/include/utils/pg_lzcompress.h