Need to sniff ProgrammingError to catch some constraint violations in order to Retry
Bug #57388 reported by
Stuart Bishop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Stuart Bishop | ||
launchpad-dependencies (Ubuntu) |
Fix Released
|
Medium
|
Steve Alexander |
Bug Description
In most cases, psycopg raises psycopg.
It seems that psycopg will also raise psycopg.
ProgrammingError: ERROR: duplicate key violates unique constraint "person_name_key"
Changed in launchpad: | |
assignee: | nobody → stub |
importance: | Untriaged → Medium |
status: | Unconfirmed → Confirmed |
Changed in launchpad: | |
status: | Confirmed → In Progress |
Changed in launchpad-dependencies: | |
status: | Confirmed → Fix Released |
visibility: | private → public |
To post a comment you must log in.
Turns out this is a bug in psycopg that has been fixed. We need update launchpad- dependancies to require psycopg >= 1.1.21 and update our production systems.