postgrescheck

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentIndex added in v0.10.1

type ConcurrentIndex struct {
	ConcurrentOptions
}

ConcurrentIndex checks for concurrent index creation, dropping, and its transactional safety.

func NewConcurrentIndex added in v0.10.1

func NewConcurrentIndex(r *schemahcl.Resource) (*ConcurrentIndex, error)

NewConcurrentIndex creates a new concurrent-index Analyzer with the given options.

func (*ConcurrentIndex) Analyze added in v0.10.1

func (a *ConcurrentIndex) Analyze(_ context.Context, p *sqlcheck.Pass) error

Analyze implements sqlcheck.Analyzer.

func (*ConcurrentIndex) Name added in v0.10.1

func (*ConcurrentIndex) Name() string

Name of the analyzer. Implements the sqlcheck.NamedAnalyzer interface.

type ConcurrentOptions added in v0.10.1

type ConcurrentOptions struct {
	sqlcheck.Options
	CheckCreate *bool `spec:"check_create"`
	CheckDrop   *bool `spec:"check_drop"`
	CheckTxMode *bool `spec:"check_txmode"`
}

ConcurrentOptions for concurrent index creation.

Jump to

Keyboard shortcuts

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