don't swallow useful postgresql errors when INSERT fails, zsombor upstream 947c742d04edf30b295e34a77676eee2c609dbeb