PostgreSQL Source Code  git master
archive_module.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ArchiveModuleState
struct  ArchiveModuleCallbacks


typedef struct ArchiveModuleState ArchiveModuleState
typedef void(* ArchiveStartupCB) (ArchiveModuleState *state)
typedef bool(* ArchiveCheckConfiguredCB) (ArchiveModuleState *state)
typedef bool(* ArchiveFileCB) (ArchiveModuleState *state, const char *file, const char *path)
typedef void(* ArchiveShutdownCB) (ArchiveModuleState *state)
typedef struct ArchiveModuleCallbacks ArchiveModuleCallbacks
typedef const ArchiveModuleCallbacks *(* ArchiveModuleInit) (void)


PGDLLEXPORT const ArchiveModuleCallbacks_PG_archive_module_init (void)


PGDLLIMPORT char * XLogArchiveLibrary

Typedef Documentation

◆ ArchiveCheckConfiguredCB

typedef bool(* ArchiveCheckConfiguredCB) (ArchiveModuleState *state)

Definition at line 39 of file archive_module.h.

◆ ArchiveFileCB

typedef bool(* ArchiveFileCB) (ArchiveModuleState *state, const char *file, const char *path)

Definition at line 40 of file archive_module.h.

◆ ArchiveModuleCallbacks

◆ ArchiveModuleInit

typedef const ArchiveModuleCallbacks*(* ArchiveModuleInit) (void)

Definition at line 55 of file archive_module.h.

◆ ArchiveModuleState

◆ ArchiveShutdownCB

typedef void(* ArchiveShutdownCB) (ArchiveModuleState *state)

Definition at line 41 of file archive_module.h.

◆ ArchiveStartupCB

typedef void(* ArchiveStartupCB) (ArchiveModuleState *state)

Definition at line 38 of file archive_module.h.

Function Documentation

◆ _PG_archive_module_init()

PGDLLEXPORT const ArchiveModuleCallbacks* _PG_archive_module_init ( void  )

Definition at line 91 of file basic_archive.c.

92 {
94 }
static const ArchiveModuleCallbacks basic_archive_callbacks
Definition: basic_archive.c:58

References basic_archive_callbacks.

Variable Documentation

◆ XLogArchiveLibrary

PGDLLIMPORT char* XLogArchiveLibrary

Definition at line 91 of file pgarch.c.

Referenced by HandlePgArchInterrupts(), and LoadArchiveLibrary().