Python psycopg2 error handling

Describes the cause and action for error messages.


Error Message(English):
psycopg2 error handling

Resolution


関連リンク


The psycopg2 module content ? Psycopg 2.8b1 documentation
http://initd.org/psycopg/docs/module.html

psycopg2.errorcodes ? Error codes defined by PostgreSQL ...
http://initd.org/psycopg/docs/errorcodes.html

Getting error messages from psycopg2 exceptions - Stack Overflow
https://stackoverflow.com/questions/24332005/getting-error-messages-from-psycopg2-exceptions

Handling errors in psycopg2 - one error seems to create more ...
https://stackoverflow.com/questions/42989224/handling-errors-in-psycopg2-one-error-seems-to-create-m・・・

Detect whether to fetch from psycopg2 cursor or not?
https://stackoverflow.com/questions/38657566/detect-whether-to-fetch-from-psycopg2-cursor-or-not

Graceful Primary Key Error handling in Python/psycopg2
https://stackoverflow.com/questions/8497886/graceful-primary-key-error-handling-in-python-psycopg2

Psycopg2 error messages
https://stackoverflow.com/questions/6697719/psycopg2-error-messages

psycopg2.Error Python Example - Program Creek
https://www.programcreek.com/python/example/21048/psycopg2.Error

psycopg2.DatabaseError Python Example - Program Creek
https://www.programcreek.com/python/example/66935/psycopg2.DatabaseError

PostgreSQL Python: Handling Transaction in Psycopg
http://www.postgresqltutorial.com/postgresql-python/transaction/



Name:
Comment:



[return to Python エラーコード一覧]