auth

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: PostgreSQL Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterNodeConnection

func GetClusterNodeConnection(ctx context.Context, node map[string]any, opts ConnectionOptions) (*pgxpool.Pool, error)

func GetReplModeConnection

func GetReplModeConnection(nodeInfo map[string]any) (*pgconn.PgConn, error)

func GetSizedClusterNodeConnection added in v1.3.1

func GetSizedClusterNodeConnection(node map[string]any, opts ConnectionOptions) (*pgxpool.Pool, error)

Types

type ConnectionOptions added in v1.4.0

type ConnectionOptions struct {
	DBName         string
	Role           string
	PoolSize       int
	DropPrivileges bool
}

Jump to

Keyboard shortcuts

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