PostgreSQL Source Code  git master
rewind_source Struct Reference

#include <rewind_source.h>

Data Fields

void(* traverse_files )(struct rewind_source *, process_file_callback_t callback)
 
char *(* fetch_file )(struct rewind_source *, const char *path, size_t *filesize)
 
void(* queue_fetch_range )(struct rewind_source *, const char *path, off_t offset, size_t len)
 
void(* finish_fetch )(struct rewind_source *)
 
XLogRecPtr(* get_current_wal_insert_lsn )(struct rewind_source *)
 
void(* destroy )(struct rewind_source *)
 

Detailed Description

Definition at line 23 of file rewind_source.h.

Field Documentation

◆ destroy

void(* rewind_source::destroy) (struct rewind_source *)

Definition at line 63 of file rewind_source.h.

Referenced by init_libpq_source(), init_local_source(), and main().

◆ fetch_file

char*(* rewind_source::fetch_file) (struct rewind_source *, const char *path, size_t *filesize)

◆ finish_fetch

void(* rewind_source::finish_fetch) (struct rewind_source *)

Definition at line 53 of file rewind_source.h.

Referenced by init_libpq_source(), init_local_source(), and perform_rewind().

◆ get_current_wal_insert_lsn

XLogRecPtr(* rewind_source::get_current_wal_insert_lsn) (struct rewind_source *)

Definition at line 58 of file rewind_source.h.

Referenced by init_libpq_source(), init_local_source(), and perform_rewind().

◆ queue_fetch_range

void(* rewind_source::queue_fetch_range) (struct rewind_source *, const char *path, off_t offset, size_t len)

Definition at line 47 of file rewind_source.h.

Referenced by init_libpq_source(), init_local_source(), and perform_rewind().

◆ traverse_files

void(* rewind_source::traverse_files) (struct rewind_source *, process_file_callback_t callback)

Definition at line 29 of file rewind_source.h.

Referenced by init_libpq_source(), init_local_source(), and main().


The documentation for this struct was generated from the following file: