PostgreSQL Source Code: src/bin/pg_basebackup/receivelog.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12#ifndef RECEIVELOG_H

13#define RECEIVELOG_H

14

18

19

20

21

22

24

25

26

27

28

30{

33 char *sysidentifier;

34

36 bool synchronous;

37 bool mark_done;

38 bool do_sync;

39

40

42

44

45

47 char *partial_suffix;

50

51

52

56

57#endif

bool(* stream_stop_callback)(XLogRecPtr segendpos, uint32 timeline, bool segment_finished)

struct StreamCtl StreamCtl

bool ReceiveXlogStream(PGconn *conn, StreamCtl *stream)

bool CheckServerVersionForStreaming(PGconn *conn)

stream_stop_callback stream_stop

int standby_message_timeout

WalWriteMethod * walmethod