bbtable

package
v0.0.0-...-0d0b246 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (

	//BasebackupFilename represents file name of the copy dump file
	BasebackupFilename = "basebackup.copy"

	//BasebackupInfoFilename represents file name of the table info file
	BasebackupInfoFilename = "basebackup_info.yaml"
)

Variables

View Source
var (
	// ErrTableNotFound represents table not found error
	ErrTableNotFound = errors.New("table not found")
)

Functions

func New

func New(dbCfg pgx.ConnConfig, table tablebackup.TableBackuper) *tableBasebackup

New instantiates basebackup table

Types

type TableBasebackuper

type TableBasebackuper interface {
	Basebackup() error
	DumpFilename() string
	InfoFilename() string
	Lsn() dbutils.LSN
}

TableBasebackuper represents interface for basebackup table

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL