skunk icon indicating copy to clipboard operation
skunk copied to clipboard

A data access library for Scala + Postgres.

Results 184 skunk issues
Sort by recently updated
recently updated
newest added

It would be nice if we could allow other collection such as Vector to be used while inserting the data. https://tpolecat.github.io/skunk/tutorial/Command.html#list-parameters

`sql"$e"` becomes `Fragment[Nothing]` in Scala 3 if `e: Encoder[A]` for some type variable `A` rather than a concrete type. This is due to https://github.com/lampepfl/dotty/issues/12343#issuecomment-836631142

Scala 3

full example from https://github.com/tpolecat/skunk/blob/v0.0.24/modules/docs/src/main/paradox/tutorial/Command.md gives following compile errors ``` skunk-world/src/main/scala/CommandExample.scala:42:34 not found: type * def fromSession[F[_] : Bracket[*[_], Throwable]](s: Session[F]): PetService[F] = skunk-world/src/main/scala/CommandExample.scala:42:24 cats.effect.Bracket[,Throwable] does not take type parameters def...

good first issue

Is it a bad idea to ask for a function that generates a Query or a SQL fragment from a case class? Can this be done at compile time? If...

Right now, if the connection to the server is lost (i.e. restart PostgreSQL server), the application needs to be restarted to get reconnected. I think this would be a nice...

`BufferedMessageSocket` needs a userland timeout for message dequeueing that can handle cases where the server remains alive but becomes unresponsive. The underlying socket read can't be allowed to time out...

When i specify `readTimeout` to `Session.pool`, pool cannot reuse session. 1. Create pool with `readTimeout` = 10 seconds 2. Make request. Wait more than timeout in my case is 3...

I use `Session.pooled`. When app starts i acquire pool. And then on each db operation i do `pool.use(session.execute(...))`. If postgres instance restarted on next request application stops with error: ```...