Skip site navigation (1) Skip section navigation (2)

pgsql: Cleanup for pglz_compress code: remove dead code, const-ify API

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cleanup for pglz_compress code: remove dead code, const-ify API
Date: 2006-10-05 23:33:33
Message-ID: 20061005233333.BF2EB9FA3B0@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        tuptoaster.c (r1.65 -> r1.66)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/tuptoaster.c.diff?r1=1.65&r2=1.66)
    pgsql/src/backend/utils/adt:
        pg_lzcompress.c (r1.22 -> r1.23)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/pg_lzcompress.c.diff?r1=1.22&r2=1.23)
    pgsql/src/include/utils:
        pg_lzcompress.h (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/pg_lzcompress.h.diff?r1=1.12&r2=1.13)

pgsql-committers by date

Next:From: User MarkirDate: 2006-10-06 01:12:15
Subject: bizgres - bizgres: Rationalize warnings about resource scheduler off for
Previous:From: Tom LaneDate: 2006-10-05 17:57:41
Subject: pgsql: Make use of qsort_arg in several places that were formerly using

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group