util

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-2-Clause, BSD-3-Clause, PostgreSQL Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExplainHelper = PGHelperFn{
	// contains filtered or unexported fields
}

Functions

func ApplyConfigSetting

func ApplyConfigSetting(setting, value string, runner *query.Runner) error

func GetPendingSharedPreloadLibraries

func GetPendingSharedPreloadLibraries(runner *query.Runner) (string, error)

func Includes

func Includes(strings []string, str string) bool

func JoinWithAnd

func JoinWithAnd(strs []string) string

func UsingLogExplain

func UsingLogExplain(section *ini.Section) (bool, error)

func ValidateHelperFunction

func ValidateHelperFunction(fn PGHelperFn, runner *query.Runner) (bool, error)

func ValidateLogMinDurationStatement

func ValidateLogMinDurationStatement(ans interface{}) error

Types

type PGHelperFn

type PGHelperFn struct {
	// contains filtered or unexported fields
}

func (*PGHelperFn) GetDefinition

func (pgfn *PGHelperFn) GetDefinition() string

func (*PGHelperFn) Matches

func (pgfn *PGHelperFn) Matches(md5hash string) bool

Jump to

Keyboard shortcuts

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