That may be a dumb question, but I've struggled with it for an embarrassingly long time now.
We have a Pool SqlBackend in the environment and queries such as
query :: ConduitT () Thing (ReaderT SqlBackend m) ()
that work fine using selectSource.
When I switch from selectSource to selectCursor, I get the following error
Could not deduce (BackendCompatible (RawPostgresql SqlBackend) SqlBackend)
I assume there's a very straightforward way of fixing this since no one has asked. It's definitely not one of the 40 ways I tried today though.