ExclusiveLock on related table due to update?
There is no way to fix this with PostgreSQL 9.1

Up until 9.2 (including) any referencing table was locked  during an update. 

This was fixed in the PostgreSQL 9.3 (also unsupported by now)

Quote from the release notes:


  Prevent non-key-field row updates from blocking foreign key checks