You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, we've suspect that River isn't compatible with lib/pq. riverdatabasesql is mainly meant for compatibility through a database/sql interface that's using an underlying Pgx driver. I might try to fix it depending on time, but given lib/pq's ancient and been in maintenance mode only for years, I'm not sure how soon I'll get to it.
OOC, what's the main thing blocking you from migrating to a more modern driver like Pgx?
A repo demonstrating the issue is available here: https://github.com/wydengyre/dbsqlintervaldemo
Using
riverdatabasesql
with thepq
driver will result in failure of the leader election system.The leader election SQL will result in
expires_at
being set to a time in the year 2183: https://github.com/FiveBellsSettlement/river/blob/62ce779744c2d2434cc41eb02a6f19db419dc79e/riverdriver/riverdatabasesql/internal/dbsqlc/river_leader.sql.go#L13The text was updated successfully, but these errors were encountered: