PostgreSQL Source Code
git master
|
#include "postgres_fe.h"
#include <unistd.h>
#include "bbstreamer.h"
#include "common/logging.h"
#include "common/file_perm.h"
#include "common/string.h"
Go to the source code of this file.
Functions | |
bbstreamer * | bbstreamer_gzip_writer_new (char *pathname, FILE *file, pg_compress_specification *compress) |
bbstreamer * | bbstreamer_gzip_decompressor_new (bbstreamer *next) |
bbstreamer* bbstreamer_gzip_decompressor_new | ( | bbstreamer * | next | ) |
Definition at line 214 of file bbstreamer_gzip.c.
References Assert(), _z_stream::avail_out, if(), initStringInfo(), next, _z_stream::next_out, palloc0(), and pg_fatal.
Referenced by CreateBackupStreamer().
bbstreamer* bbstreamer_gzip_writer_new | ( | char * | pathname, |
FILE * | file, | ||
pg_compress_specification * | compress | ||
) |
Definition at line 79 of file bbstreamer_gzip.c.
References fd(), pg_compress_specification::level, pg_compress_specification::options, palloc0(), PG_COMPRESSION_OPTION_LEVEL, pg_fatal, and pstrdup().
Referenced by CreateBackupStreamer().