The real problem was that i was trying to update the forecast via pgx.Pool, not the acquired connection, therefore it did not have the correct role. I moved everything to a different function where db is not visible in scope, just to make sure i did not fuck up anywhere else. |
||
---|---|---|
.. | ||
main.go |