Function: createPostgresExecutors()
ts
function createPostgresExecutors(poolOrClient?): RuntimeExecutorRegistrySlice;Defined in: postgres/src/executors/create-postgres-executors.ts:34
Creates a RuntimeExecutorRegistrySlice registering all @paraharness/postgres storage and source executors.
Binds 'postgres:ledger', 'postgres:topology', 'postgres:lessons', and 'postgres:global-rules' with late-bound ctx.resolveEnv(node.uri) resolution against poolOrClient or pg.Pool.
Parameters
| Parameter | Type | Description |
|---|---|---|
poolOrClient? | | PostgresQueryClient | PostgresPoolFactory | Pool | Optional pool factory, query client, or pg.Pool. |
Returns
Frozen executor registry slice for @paraharness/postgres.