psql

package
v0.0.0-...-937e8d9 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllDatabasesTxt string
	LargeTablesTxt  string
	SearchDatabases string
	PsqlExe         string
)

Functions

func CopyBinary

func CopyBinary(db string, src string, dst string) (err error)

func ExcludedTables

func ExcludedTables(pgConf ConnectionConfig) ([]string, error)

Types

type ConnectionConfig

type ConnectionConfig struct {
	User     string
	Password string
	Database
	SSlMode bool
}

func (ConnectionConfig) String

func (c ConnectionConfig) String() string

type Database

type Database struct {
	Name string
	OID  int
}

func Databases

func Databases(pgConf ConnectionConfig, dbsFilter []string) ([]Database, error)

TODO I have to just define query args witout replacing substring in the query text

Jump to

Keyboard shortcuts

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