postgresdb

package module
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package postgresdb provides the lightweight general PostgreSQL component. Selecting it creates one application schema and a provider-neutral Store; River, task workers, governed Action persistence, audit, and MCP are absent.

Stability: alpha. Consumers should pin an exact pre-v1 Modary version.

Index

Constants

View Source
const ModuleID = "postgres-database"

ModuleID is the stable identifier of the general PostgreSQL component.

Variables

This section is empty.

Functions

func Module

func Module(options Options) (module.Registration, error)

Module returns a side-effect-free registration. Network and schema work begins only when the Host starts it.

Types

type Options

type Options struct {
	URL                   string
	Schema                string
	MaxOpenConnections    int
	MaxIdleConnections    int
	ConnectionMaxLifetime time.Duration
}

Options explicitly configures the general PostgreSQL component. No value is read from global configuration or process environment.

Directories

Path Synopsis
Package identitystore provides a PostgreSQL-backed principal, session, local password, and bearer store.
Package identitystore provides a PostgreSQL-backed principal, session, local password, and bearer store.
internal
postgrestest
Package postgrestest provides isolated real-PostgreSQL control for adapter integration tests.
Package postgrestest provides isolated real-PostgreSQL control for adapter integration tests.
testpostgres
Package testpostgres provides isolated PostgreSQL schemas for repository integration tests.
Package testpostgres provides isolated PostgreSQL schemas for repository integration tests.
Package rbac provides an explicit, durable, default-deny RBAC Adapter.
Package rbac provides an explicit, durable, default-deny RBAC Adapter.
Package sqlaudit provides a neutral PostgreSQL-backed audit Hook.
Package sqlaudit provides a neutral PostgreSQL-backed audit Hook.

Jump to

Keyboard shortcuts

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