PostgreSQL Source Code git master
|
Go to the source code of this file.
Data Structures | |
struct | PGLZ_Strategy |
Macros | |
#define | PGLZ_MAX_OUTPUT(_dlen) ((_dlen) + 4) |
Typedefs | |
typedef struct PGLZ_Strategy | PGLZ_Strategy |
Functions | |
int32 | pglz_compress (const char *source, int32 slen, char *dest, const PGLZ_Strategy *strategy) |
int32 | pglz_decompress (const char *source, int32 slen, char *dest, int32 rawsize, bool check_complete) |
int32 | pglz_maximum_compressed_size (int32 rawsize, int32 total_compressed_size) |
Variables | |
PGDLLIMPORT const PGLZ_Strategy *const | PGLZ_strategy_default |
PGDLLIMPORT const PGLZ_Strategy *const | PGLZ_strategy_always |
#define PGLZ_MAX_OUTPUT | ( | _dlen | ) | ((_dlen) + 4) |
Definition at line 21 of file pg_lzcompress.h.
typedef struct PGLZ_Strategy PGLZ_Strategy |
int32 pglz_compress | ( | const char * | source, |
int32 | slen, | ||
char * | dest, | ||
const PGLZ_Strategy * | strategy | ||
) |
Definition at line 509 of file pg_lzcompress.c.
References generate_unaccent_rules::dest, PGLZ_Strategy::first_success_by, hist_entries, hist_start, PGLZ_Strategy::match_size_drop, PGLZ_Strategy::match_size_good, PGLZ_Strategy::max_input_size, PGLZ_Strategy::min_comp_rate, pglz_find_match(), pglz_hist_add, PGLZ_MAX_MATCH, pglz_out_literal, pglz_out_tag, PGLZ_strategy_default, and source.
Referenced by pglz_compress_datum(), and XLogCompressBackupBlock().
int32 pglz_decompress | ( | const char * | source, |
int32 | slen, | ||
char * | dest, | ||
int32 | rawsize, | ||
bool | check_complete | ||
) |
Definition at line 692 of file pg_lzcompress.c.
References generate_unaccent_rules::dest, len, Min, source, and unlikely.
Referenced by pglz_decompress_datum(), pglz_decompress_datum_slice(), and RestoreBlockImage().
Definition at line 846 of file pg_lzcompress.c.
References Min.
Referenced by detoast_attr_slice().
|
extern |
Definition at line 248 of file pg_lzcompress.c.
|
extern |
Definition at line 236 of file pg_lzcompress.c.
Referenced by pglz_compress(), pglz_compress_datum(), and XLogCompressBackupBlock().