PostgresJournalOptions
이 콘텐츠는 아직 번역되지 않았습니다.
Defined in: src/persistence/journals/PostgresJournal.ts:14
Connection options shared by all three Postgres stores.
Extends
Section titled “Extends”Properties
Section titled “Properties”autoCreateTables?
Section titled “autoCreateTables?”
readonlyoptionalautoCreateTables?:boolean
Defined in: src/persistence/journals/PostgresJournal.ts:20
Run CREATE TABLE IF NOT EXISTS on first use. Default: true.
eventsTable?
Section titled “eventsTable?”
readonlyoptionaleventsTable?:string
Defined in: src/persistence/journals/PostgresJournal.ts:16
Events table name. Default: events.
readonlyoptionalpool?:PgPoolLike
Defined in: src/persistence/journals/PostgresClient.ts:59
Pre-built pool — bypasses the lazy pg import entirely. Use to
share ONE pool across the journal + snapshot + durable-state stores
(see registerPostgresPlugins), or to inject a fake in tests.
Inherited from
Section titled “Inherited from”poolConfig?
Section titled “poolConfig?”
readonlyoptionalpoolConfig?:Record<string,unknown>
Defined in: src/persistence/journals/PostgresClient.ts:53
Extra node-postgres Pool config, merged over { connectionString: url } — e.g. { max: 10, ssl: { rejectUnauthorized: false } }.
Inherited from
Section titled “Inherited from”tagsTable?
Section titled “tagsTable?”
readonlyoptionaltagsTable?:string
Defined in: src/persistence/journals/PostgresJournal.ts:18
Tags join table name. Default: ${eventsTable}_tags.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/PostgresClient.ts:48
Connection string, e.g. postgres://user:pass@host:5432/db.