Ir al contenido
Español

RegisterPostgresPluginsOptions

Esta página aún no está disponible en tu idioma.

Defined in: src/persistence/journals/PostgresPlugin.ts:19

readonly optional durableStateStore?: Omit<PostgresDurableStateStoreOptions, "pool">

Defined in: src/persistence/journals/PostgresPlugin.ts:32

Durable-state-store-specific options. Defaults to {} (uses the shared pool).


readonly journal: Omit<PostgresJournalOptions, "pool">

Defined in: src/persistence/journals/PostgresPlugin.ts:28

Journal-specific options (table names, autoCreate, and connection if no shared pool).


readonly optional pool?: PgPoolLike

Defined in: src/persistence/journals/PostgresPlugin.ts:26

Shared connection pool injected into all three stores. When provided, the journal + snapshot + durable-state stores reuse ONE pool (the usual case — they target the same database). When omitted, each store lazily builds its own pool from its url / poolConfig.


readonly snapshotStore: Omit<PostgresSnapshotStoreOptions, "pool">

Defined in: src/persistence/journals/PostgresPlugin.ts:30

Snapshot-store-specific options.