DatabaseError: current transaction is aborted, commands ignored until end of transaction block?
Описание
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2
--
Chapters
00:00 Question
00:33 Accepted answer (Score 242)
01:12 Answer 2 (Score 151)
01:40 Answer 3 (Score 81)
01:58 Answer 4 (Score 52)
02:34 Thank you
--
Full question
https://stackoverflow.com/questions/2979369/databaseerror-current-transaction-is-aborted-commands-ignored-until-end-of-tra
Accepted answer links:
[log_statement]: http://www.postgresql.org/docs/current/static/runtime-config-logging.htm #GUC-LOG-STATEMENT
[log_min_error_statement]: http://www.postgresql.org/docs/current/static/runtime-config-logging.htm #GUC-LOG-MIN-ERROR-STATEMENT
Answer 2 links:
[Django documentation]: https://docs.djangoproject.com/en/dev/topics/db/transactions/#transaction-rollback
Answer 3 links:
https://www.postgresql.org/docs/9.4/static/sql-rollback.html
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/licensing
--
Tags
#python #django #postgresql #psycopg2
#avk47
Рекомендуемые видео



















