function

OpenWithConfig

Open the store with explicit pool and PostgreSQL session bounds.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
optionsPoolConfigThe options value.

Returns

The declared result.

(*Store, error)

Full signature

func OpenWithConfig( ctx context.Context, options PoolConfig, ) (*Store, error)

Source adapters/postgres/postgres.go:75

Related types

  • PoolConfig

    Production connection-pool, upload-lock-pool, lifetime, health, and server timeout controls.

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.