85 streamer->base.bbs_next =
next;
87 streamer->header_written =
false;
90 prefs = &streamer->prefs;
97 pg_log_error(
"could not create lz4 compression context: %s",
100 return &streamer->base;
102 pg_fatal(
"this build does not support compression with %s",
"LZ4");
289 streamer->base.bbs_next =
next;
295 pg_fatal(
"could not initialize compression library: %s",
298 return &streamer->base;
300 pg_fatal(
"this build does not support compression with %s",
"LZ4");
static void astreamer_free(astreamer *streamer)
static void astreamer_content(astreamer *streamer, astreamer_member *member, const char *data, int len, astreamer_archive_context context)
static void astreamer_finalize(astreamer *streamer)
astreamer_archive_context
astreamer * astreamer_lz4_compressor_new(astreamer *next, pg_compress_specification *compress)
astreamer * astreamer_lz4_decompressor_new(astreamer *next)
#define Assert(condition)
#define palloc0_object(type)
#define pg_log_error(...)
void pfree(void *pointer)
void enlargeStringInfo(StringInfo str, int needed)
void initStringInfo(StringInfo str)
void(* content)(astreamer *streamer, astreamer_member *member, const char *data, int len, astreamer_archive_context context)
StringInfoData bbs_buffer