diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-12-25 20:46:14 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-12-25 20:46:14 +0900 |
commit | 60838df922345b26a616e49ac9fab808a35d1f85 (patch) | |
tree | 9f924e2b9558b80cd523305aa76d697b35da6fb7 /src/backend/access/gist/gistvacuum.c | |
parent | 5b89473d870dc2a9fec0926c5afccf53042dbb0a (diff) | |
download | postgresql-60838df922345b26a616e49ac9fab808a35d1f85.tar.gz postgresql-60838df922345b26a616e49ac9fab808a35d1f85.zip |
Move pg_lzcompress.c to src/common.
Exposing compression and decompression APIs of pglz makes possible its
use by extensions and contrib modules. pglz_decompress contained a call
to elog to emit an error message in case of corrupted data. This function
is changed to return a status code to let its callers return an error instead.
This commit is required for upcoming WAL compression feature so that
the WAL reader facility can decompress the WAL data by using pglz_decompress.
Michael Paquier
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions