PostgreSQL Source Code
git master
|
#include "backup/basebackup_sink.h"
Go to the source code of this file.
Typedefs | |
typedef struct BaseBackupTargetHandle | BaseBackupTargetHandle |
Functions | |
void | BaseBackupAddTarget (char *name, void *(*check_detail)(char *, char *), bbsink *(*get_sink)(bbsink *, void *)) |
BaseBackupTargetHandle * | BaseBackupGetTargetHandle (char *target, char *target_detail) |
bbsink * | BaseBackupGetSink (BaseBackupTargetHandle *handle, bbsink *next_sink) |
typedef struct BaseBackupTargetHandle BaseBackupTargetHandle |
Definition at line 1 of file basebackup_target.h.
void BaseBackupAddTarget | ( | char * | name, |
void *(*)(char *, char *) | check_detail, | ||
bbsink *(*)(bbsink *, void *) | get_sink | ||
) |
Definition at line 61 of file basebackup_target.c.
References BaseBackupTargetTypeList, BaseBackupTargetType::check_detail, BaseBackupTargetType::get_sink, initialize_target_list(), lappend(), lfirst, MemoryContextSwitchTo(), BaseBackupTargetType::name, name, NIL, palloc(), pstrdup(), and TopMemoryContext.
Referenced by _PG_init().
bbsink* BaseBackupGetSink | ( | BaseBackupTargetHandle * | handle, |
bbsink * | next_sink | ||
) |
Definition at line 163 of file basebackup_target.c.
References BaseBackupTargetHandle::detail_arg, BaseBackupTargetType::get_sink, and BaseBackupTargetHandle::type.
Referenced by SendBaseBackup().
BaseBackupTargetHandle* BaseBackupGetTargetHandle | ( | char * | target, |
char * | target_detail | ||
) |
Definition at line 117 of file basebackup_target.c.
References BaseBackupTargetTypeList, BaseBackupTargetType::check_detail, BaseBackupTargetHandle::detail_arg, ereport, errcode(), errmsg(), ERROR, initialize_target_list(), lfirst, BaseBackupTargetType::name, NIL, palloc(), and BaseBackupTargetHandle::type.
Referenced by parse_basebackup_options().