postgres

package
v0.0.0-...-f979f54 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCanNotDeleteFile = eris.New("can not delete uncompressed file in pg_dumpall")

Functions

This section is empty.

Types

type Database

type Database struct {
	Name              string
	Host              string
	Port              int
	Database          string
	Username          string
	Password          string
	Version           int
	DumpServer        bool
	DumpAll           bool
	Verbose           bool
	ExcludedDatabases []string
	// contains filtered or unexported fields
}

func (*Database) Dump

func (d *Database) Dump() error

func (*Database) Probe

func (d *Database) Probe() error

Probe if the database is reachable and needed tools exist.

Jump to

Keyboard shortcuts

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