diff --git a/swh/storage/postgresql/storage.py b/swh/storage/postgresql/storage.py --- a/swh/storage/postgresql/storage.py +++ b/swh/storage/postgresql/storage.py @@ -84,6 +84,7 @@ psycopg2.errors.NotNullViolation, psycopg2.errors.NumericValueOutOfRange, psycopg2.errors.UndefinedFunction, # (raised on wrong argument typs) + psycopg2.errors.ProgramLimitExceeded, # typically person_name_idx ) """Exceptions raised by postgresql when validation of the arguments failed."""