@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

main
yaml 16 lines 1.98 KB
Raw
1 "@effect/sql-pg/PgClient#fromPool":
2 replacement: none
3 note: "Wrapping an existing node-pg Pool was removed with the native protocol client. Use PgClient.make or PgClient.layer with connection settings."
4 "@effect/sql-pg/PgClient#layerFromPool":
5 replacement: "PgClient.layer"
6 note: "Wrapping an existing node-pg Pool was removed. Provide connection settings to PgClient.layer instead."
7 "@effect/sql-pg/PgClient#PgClient":
8 replacement: "@effect/sql-pg/PgClient#PgClient"
9 note: "Retained; the service value is now a Context.Service. The listen method returns a scoped Effect acquiring a Queue.Dequeue<PgConnection.Notification, SqlError>; consume it with Queue operations or Stream.fromQueue and read each notification's payload. Connection failures after registration fail the queue with the original SqlError; scope closure interrupts consumers."
10 "@effect/sql-pg/PgClient#PgClientConfig":
11 include: true
12 replacement: "@effect/sql-pg/PgClient#PgClientConfig / PgPoolConfig"
13 note: "Use PgClientConfig for base settings and PgPoolConfig for make/layer; pool sizing, idle timeout, and connection TTL moved to PgPoolConfig. v3 connectTimeout also bounded waits for a free pooled connection through node-pg; v4 connectTimeout covers only opening a connection, so set acquireTimeout to fail with ConnectionError when the pool stays exhausted. The types option takes a PgTypes.Registry rather than node-pg custom types. Timestamp and timestamptz results (including array elements) are Date values with millisecond precision; infinity, -infinity, and out-of-range values become invalid Dates. Numeric readers can use getTime() or register numeric codecs. Date parameters bind as timestamptz; use PgTypes.timestamp(value) to preserve UTC fields when writing a timestamp column instead of applying the session TimeZone."
14 "@effect/sql-pg/PgClient#PgClientFromPoolOptions":
15 replacement: none
16 note: "The node-pg Pool wrapper options were removed with fromPool. Use PgClient.PgPoolConfig with PgClient.make or PgClient.layer."