Updating postgres solved the problem, however now I’m wondering if I should consider my discourse database as corrupted, since most of db migrate tasks were executed(successfully?) on 9.4, and only the last two on 9.5.
Would it be possible to detect incompatible postgres version before upgrade, in order to block admins from doing stupid things like what I just did? ![]()