not the same constraint name generated for postgres <9, added it in comment