Versions in this module Expand all Collapse all v0 v0.0.4 Nov 11, 2023 v0.0.3 Sep 25, 2023 Changes in this version + var Log io.Writer = os.Stderr + var LogColor bool = false + var LogLevel int = 0 + var Logf func(int, string, ...interface{}) (int, error) = defaultLogf + func Prompt(ctx context.Context, prompt string) (string, error) + func PromptYesNo(ctx context.Context, question string) (bool, error) + type BlockWatchedPoolConn struct + func AcquireWithBlockWatcher(ctx context.Context, pool *pgxpool.Pool, maxBlockDuration time.Duration, ...) (*BlockWatchedPoolConn, error) + func (c *BlockWatchedPoolConn) Release() + type BlockWatcher struct + func (w *BlockWatcher) Watch(ctx context.Context) error + type Dumper struct + func NewDumper(pgCfg *pgx.ConnConfig, command string) (*Dumper, error) + func (d *Dumper) Dump(ctx context.Context, outputPath string) error