Can I see more of the code without ...
On Mar 9, 3:17 pm, LightOfMooN <vladsale...@yandex.ru> wrote: > value=request.vars.myvar > > try: > value = int(value) > except: > pass > > if type(value)==int: > insert(....) > > it rises > <class 'psycopg2.InternalError'>(current transaction is aborted, > commands ignored until end of transaction block) > even if value > 2147483647 > > But why? > It's so strange, because type(value) must be long.