Package: @effect/sql-pg
Module: PgClient
Creates a scoped PostgreSQL client backed by a managed single pg client, optionally acquiring a separate client for streaming and LISTEN operations.
Signature
declare const makeClient: (options: PgClientConfig & { readonly acquireForStream?: boolean | undefined; }) => Effect.Effect<PgClient, SqlError, Scope.Scope | Reactivity.Reactivity>
Since v4.0.0