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
I don't think i want to sneakily renable transactions if the user explicitly decided not to use them for the migration (either themselves or by choosing a gem that does it for them). I think I'd be more likely to accept a patch that raises when IndexReapplication is used in a context where a transaction is not currently running. That would not be a behavior change as the migration would still fail, but the error message could tell people what's going on.
I guess I did not think about that 'cause I've re-enabled the transaction on my migration 😅
For what it's worth, I think the check should be done before making any change in the database, as if the migration fails after dropping a view (my use case today) and is not in a transaction, the view is really gone.
Get this stranger error when trying to update the materialized view.
It seems that adapter prevents any usage of SAVEPOINT but for transactions.
Any help would be appreciated
The text was updated successfully, but these errors were encountered: