• Fujii Masao's avatar
    Move pg_lzcompress.c to src/common. · 60838df9
    Fujii Masao authored
    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
    60838df9
Makefile 1.54 KB