pg

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackupFetchShortDescription = "Fetches a backup from storage"
	MaskFlagDescription         = `` /* 184-byte string literal not displayed */

	RestoreSpecDescription = "Path to file containing tablespace restore specification"
)
View Source
const (
	BackupListShortDescription = "Prints available backups"
	PrettyFlag                 = "pretty"
	JsonFlag                   = "json"
	DetailFlag                 = "detail"
)
View Source
const (
	BackupMarkShortDescription = "Marks a backup permanent or impermanent"
	BackupMarkLongDescription  = `` /* 147-byte string literal not displayed */

	ImpermanentDescription = "Marks a backup impermanent"
	ImpermanentFlag        = "impermanent"
)
View Source
const (
	BackupPushShortDescription = "Makes backup and uploads it to storage"
	PermanentFlag              = "permanent"
	FullBackupFlag             = "full"
	PermanentShorthand         = "p"
	FullBackupShorthand        = "f"
)
View Source
const WalFetchShortDescription = "Fetches a WAL file from storage"
View Source
const WalPrefetchShortDescription = `Used for prefetching process forking
and should not be called by user.`
View Source
const WalPushShortDescription = "Uploads a WAL file to storage"
View Source
const WalgShortDescription = "PostgreSQL backup tool"

Variables

View Source
var BuildDate = "devel"
View Source
var Cmd = &cobra.Command{
	Use:     "wal-g",
	Short:   WalgShortDescription,
	Version: strings.Join([]string{WalgVersion, GitRevision, BuildDate, "PostgreSQL"}, "\t"),
}
View Source
var GitRevision = "devel"
View Source
var WalgVersion = "devel"

These variables are here only to show current version. They are set in makefile during build process

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the PgCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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