postgres

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package postgres provides durable storage in a dedicated PostgreSQL database.

A store here holds **as many datasets as it is given**, keyed by dataset within that one database. The dedication is of the database to this engine, not of the engine to one dataset. See pkg/store/sqlite for the same note at more length.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestoreBackup

func RestoreBackup(ctx context.Context, source, dsn, destinationFence, contentDirectory, currentRetirementFence string, key []byte, hostDirectory ...string) error

Types

type Store

type Store = sqlengine.Store

func Open

func Open(ctx context.Context, dsn, retirementFencePath string, limits p.Limits) (*Store, error)

Jump to

Keyboard shortcuts

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