PostgreSQL Source Code: src/include/common/compression.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef PG_COMPRESSION_H

15#define PG_COMPRESSION_H

16

17

18

19

20

22{

28

29#define PG_COMPRESSION_OPTION_WORKERS (1 << 0)

30#define PG_COMPRESSION_OPTION_LONG_DISTANCE (1 << 1)

31

33{

35 unsigned options;

39 char *parse_error;

41

43 char **detail);

46

48 char *specification,

50

52

53#endif

struct pg_compress_specification pg_compress_specification

const char * get_compress_algorithm_name(pg_compress_algorithm algorithm)

bool parse_compress_algorithm(char *name, pg_compress_algorithm *algorithm)

char * validate_compress_specification(pg_compress_specification *)

void parse_compress_options(const char *option, char **algorithm, char **detail)

void parse_compress_specification(pg_compress_algorithm algorithm, char *specification, pg_compress_specification *result)

pg_compress_algorithm algorithm