Help us shape the future of Go! Take the 2026 Go Developer Survey

postgres

package
v1.4.14 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package postgres registers the base snapshot importer. Purpose: detect a Postgres source. Inputs: --from-env variable name. Outputs: version and user schemas. Constraints: no DSN or passwords in errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckVersion

func CheckVersion(source, target int) error

Types

type Source

type Source struct{}

func (Source) Detect

func (Source) Extract

func (s Source) Extract(ctx context.Context, in importer.Input, stage string) (importer.Extracted, error)

func (Source) Flags

func (Source) Flags() []importer.FlagSpec

func (Source) Name

func (Source) Name() string

Jump to

Keyboard shortcuts

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