Commit Graph
98 Commits
Author SHA1 Message Date
effect-bot f7e8a0c082 Add SqlClient.batch and send PostgreSQL batches in one Sync (#10147) 2026-11-08 06:57:28 +00:00
effect-botandTim 13c0e778ce fix(sql): keep driver services in requirements when SqlClient is provided (#10387)
Co-authored-by: Tim <hello@timsmart.co>
2026-11-05 00:10:16 +00:00
Ori ErelandEffect Bot 075892d51c Keep typed SQL errors when the server ends a PgClient session in a transaction (#10291)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-11-03 12:43:58 +13:00
effect-botandTim 52f4e4224c Roll back PgClient transactions whose prepared statements went missing (#10157)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-29 22:55:57 +00:00
be9895bd76 fix(sql): load filesystem migrations from their own module (#9157)
Co-authored-by: Viacheslav <bezff@MacBook-Pro-3.local>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-28 15:48:48 +13:00
4f16778151 Add pool occupancy stats to Pool, PgPool, and PgClient (#9090)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
Co-authored-by: Stéphane Le Dorze <stephane.ledorze@gmail.com>
Co-authored-by: Tarekkharsa <47394961+Tarekkharsa@users.noreply.github.com>
2026-10-28 15:48:48 +13:00
effect-bot 7302cabced fix(sql-pg): fail a stream admitted while its pin is released (#9996) 2026-10-27 16:32:30 +13:00
Tim 3f0343cf58 Wait for in-flight UNLISTEN when releasing a pinned PgConnection (#10000) 2026-10-27 02:52:35 +00:00
effect-bot f722e4c4fb fix(sql-pg): allow up to 65535 Parse/Bind parameters (#9937) 2026-10-27 10:03:29 +13:00
c1ba405edb fix(sql-pg): close a session that does not confirm UNLISTEN (#9896)
Co-authored-by: Wayne Maurer <2899448+wmaurer@users.noreply.github.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-27 09:50:15 +13:00
Tim 00e29c8009 Clarify what PgPool acquireTimeout covers (#9806) 2026-10-23 09:46:22 +13:00
effect-bot cccf1ea42c Preserve PostgreSQL server errors when the connection closes (#9756) 2026-10-22 22:09:32 +13:00
effect-bot 6e6509e840 feat(sql-pg): add onAcquire hook to PgClient (#9738) 2026-10-22 14:02:02 +13:00
effect-bot 4ec78b94ea Use the resolved PgClient connection for PgMigrator schema dumps (#9734) 2026-10-22 13:15:22 +13:00
3da7c0aaba Trace SQL connection wait and sql-pg connects (#8676)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-22 11:25:10 +13:00
effect-bot a9f0ca68aa fix(sql-pg): add acquireTimeout to bound the wait for a pooled connection (#9641) 2026-10-21 13:50:19 +13:00
Tim 679f956c4a Enforce Effect.fnUntraced for functions returning Effect.gen (#9506) 2026-10-19 10:08:06 +13:00
effect-bot 5a67e0b3a8 Prevent PGlite connection starvation in SQL runner storage (#9222) 2026-10-15 22:02:47 +13:00
Harish SubramaniumandEffect Bot 1cd7df8a98 feat(sql-pg): expose TCP keepalive settings (#9120)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-14 14:15:02 +13:00
effect-bot 3b7237aef5 fix(sql-pg): restore inferred empty array binding (#9102) 2026-10-13 21:54:03 +13:00
effect-botandTim Smart ab04ad0622 fix(sql-pg): invalidate released pins so they cannot reach the next borrower (#9089)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-13 04:19:16 +00:00
540ecd1a94 Require explicit @stability on every module and importable export (#8770)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Mattia Manzati <mattia.manzati@gmail.com>
2026-10-07 23:01:54 +13:00
WolfieLeaderandTim Smart 7ccfeb3569 fix(sql-pg): report a stale plan inside a transaction instead of retrying it (#8861)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-06 21:07:55 +00:00
Matej ČernýandTim Smart 2131d44bd1 fix(sql-pg): release connection listeners and retirement hooks on scope closure (#8854)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-06 12:10:53 +00:00
Tim 13eb0099aa Fix PostgreSQL binary interval decoding (#8746) 2026-10-05 04:23:14 +00:00
Tim 888e326a31 Fix Pool usage TTL to expire idle resources (#8679) 2026-10-03 10:42:27 +13:00
Felipe FrancoandTim Smart 4113bc78ee fix(sql-pg): Fail transactions that PostgreSQL rolls back at COMMIT (#8558)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-27 21:47:37 +00:00
Tim d68cbd6c8f Retire fatal sql-pg sessions before resuming queries (#8570) 2026-09-28 09:59:44 +13:00
Tim d426feb658 Split encoding formats into dedicated modules (#8356) 2026-09-22 03:38:43 +00:00
Tim 1b4461ec3a Move unstable Effect modules to top-level paths (#8354) 2026-09-22 13:06:30 +12:00
Tim 27de875612 fix(sql-pg): retire a session whose CancelRequest may be in flight (#8330) 2026-09-20 23:50:19 +00:00
Tim 201b5ab5c4 Fix sql-pg prepared statement name collisions (#8327) 2026-09-21 08:16:14 +12:00
Tristan ZajoncandTim Smart 106af64cf7 fix(sql-pg): release completed transaction savepoints (#8308)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-20 12:50:58 +12:00
Tristan ZajoncandTim Smart 7869f54af4 fix(sql-pg): support regclass binary values (#8309)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-19 22:21:36 +00:00
Tim 8ef3fcbbe7 feat(sql-pg): decode timestamp and timestamptz columns as Date (#8241) 2026-09-15 09:07:17 +12:00
Tim fd910d1cc6 fix(sql-pg): decode unregistered scalar OIDs as UTF-8 text (#8240) 2026-09-14 18:58:41 +00:00
Tim 4e4a3a6055 feat(sql-pg): support startup parameters and opaque options (#8234) 2026-09-14 18:24:53 +12:00
Alvaro SevillaandTim Smart 205066a76f Support Effect password providers in sql-pg (#8224)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-14 10:20:35 +12:00
Harish SubramaniumandTim Smart 9367dcbeda fix(sql-pg): preserve SqlError when LISTEN connections fail (#8215)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-13 21:13:58 +00:00
TimandSam Goodwin 8feeb3c4cd Support TLS fallback for sql-pg prefer and allow modes (#8200)
Co-authored-by: Sam Goodwin <sam@alchemy.run>
2026-09-12 10:12:45 +12:00
Tim 91abe38c37 fix(sql-pg): restore TLS SNI for non-IP hosts (#8174) 2026-09-11 08:29:34 +12:00
Sebastian Lorenz 0a08ae0626 Add shared network address values (#7524) 2026-09-08 10:54:11 +12:00
Kit LangtonandTim Smart fe3830add4 fix(sql-pg): honor explicit SSL overrides for URL modes (#7734)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 16:52:11 +12:00
Tim 40466bf397 Fix JSDoc validation violations (#7549) 2026-09-01 01:31:25 +00:00
Tim c405edc991 Set sql-pg multiplex concurrency default to 32 (#7509) 2026-08-28 17:38:21 +12:00
Tim 9adb9f2c82 Reject overlong PostgreSQL channel names (#7504) 2026-08-27 23:35:44 +00:00
Tim 96ea948655 Fix zero-TTL PostgreSQL pool churn (#7503) 2026-08-27 23:30:13 +00:00
Tim e203638f6e Allow configuring PostgreSQL backend message size (#7502) 2026-08-27 23:24:29 +00:00
Tim 1d0ff4ff67 Reject head-side IPv4 tails in the PostgreSQL inet codec (#7501) 2026-08-27 23:23:24 +00:00
Tim 534b8b9dba Replace pg with a native PgProtocol client (#7426) 2026-08-25 17:15:25 +12:00