postgres

package
v0.12.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresScapperConf

type PostgresScapperConf struct {
	dwhexecpostgres.PostgresConf
}

type PostgresScrapper

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

func NewPostgresScrapper

func NewPostgresScrapper(ctx context.Context, conf *PostgresScapperConf) (*PostgresScrapper, error)

func (*PostgresScrapper) Capabilities added in v0.10.6

func (e *PostgresScrapper) Capabilities() scrapper.Capabilities

func (*PostgresScrapper) Close

func (e *PostgresScrapper) Close() error

func (*PostgresScrapper) DialectType added in v0.1.8

func (e *PostgresScrapper) DialectType() string

func (*PostgresScrapper) Executor added in v0.12.0

func (*PostgresScrapper) IsPermissionError added in v0.1.1

func (e *PostgresScrapper) IsPermissionError(err error) bool

func (*PostgresScrapper) QueryCatalog

func (e *PostgresScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)

func (*PostgresScrapper) QueryCustomMetrics

func (e *PostgresScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)

func (*PostgresScrapper) QueryDatabases

func (e *PostgresScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)

func (*PostgresScrapper) QuerySegments

func (e *PostgresScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)

func (*PostgresScrapper) QueryShape added in v0.8.3

func (e *PostgresScrapper) QueryShape(ctx context.Context, sql string) ([]*scrapper.QueryShapeColumn, error)

func (*PostgresScrapper) QuerySqlDefinitions

func (e *PostgresScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)

func (*PostgresScrapper) QueryTableConstraints added in v0.9.0

func (e *PostgresScrapper) QueryTableConstraints(ctx context.Context) ([]*scrapper.TableConstraintRow, error)

func (*PostgresScrapper) QueryTableMetrics

func (e *PostgresScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)

func (*PostgresScrapper) QueryTables

func (e *PostgresScrapper) QueryTables(ctx context.Context, opts ...scrapper.QueryTablesOption) ([]*scrapper.TableRow, error)

func (*PostgresScrapper) SqlDialect added in v0.1.8

func (e *PostgresScrapper) SqlDialect() sqldialect.Dialect

func (*PostgresScrapper) ValidateConfiguration

func (e *PostgresScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)

Jump to

Keyboard shortcuts

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