Fix for postgres 9.1: no lock_timeout variable