Patch Changes
-
#10291
075892dThanks @0rierel! - FixwithTransactionfailing with a defect instead of the typedSqlErrorwhen PostgreSQL ends the session mid-transaction. -
#10387
13c0e77Thanks @effect-bot! - Fix providing a genericSqlClientlayer removing a driver service such asPgClientfrom an effect's requirements. The program type-checked as runnable but failed at runtime withService not found.A driver client is no longer a subtype of
SqlClient.SqlClient. Code that picks between driver layers, such ascond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicitLayer.Layer<SqlClient.SqlClient, E>annotation. -
#10473
06461daThanks @effect-bot! - FixPgConnection.makeretaining sockets after scope release when the peer withholds its closing FIN. -
#10422
076b2c0Thanks @effect-bot! - Reject unregistered PostgreSQL values that contain a NUL byte instead of returning binary data as a string, name the column and type OID when an unregistered value cannot be decoded, and fail only the query that read an undecodable row instead of closing the connection. -
#10500
e6a1d6fThanks @effect-bot! - FixPgClientquery span names anddb.namespace/server.address/server.portattributes to follow the connectionurl, defaulting the namespace to the connection user when no database is configured. -
Updated dependencies [
56bbd6f,7150ea1,da85361,95b01bb,b09e7a8,91386c0,a2b1be0,1a2c5a6,2a9d989,66cbcca,da52437,7e8f3fb,1de4308,cb36ec7,693259d,0daaa95,f548e59,005d096,188c2b0,258fb50,e799258,b110d56,111615a,4ed0fae,21671d5,2ad19ae,6235a2f,fe80e09,79af760,97f8120,c5383f8,0d0c824,b76a52b,1048919,def28cc,47563e9,9428e17,c45c33b,077b572,ec4f272,251e9c9,501c657,9c530cf,781f31e,8cf23ad,abe3084,0d338bb,ecd5ef5,324e7a1,4e86690,a871b92,ddb8fd4,6e57c49,7b39595,422a1b3,5a7c02f,24f2274,da0c792,f43a02a,c32ad61,724e62d,13c0e77,1f33b58,68e628d,a26ad63,ded4ccf,31368ab,f665267,2968901,c0be8f6,d9101fc,871e863,6a5d86c,3c9a185]:- effect@4.1.3