Mutex Postgres PDO Driver 1.2.0
Mutex, Postgres PDO Driver version 1.2.0 was released.
Full-width advisory lock keys ¶
PgsqlMutex now derives two signed 32-bit PostgreSQL advisory-lock keys from the first eight bytes of the SHA-1 hash of the mutex name, instead of two unsigned 16-bit keys from the first four bytes. The larger 64-bit keyspace reduces accidental contention between unrelated mutex names; hash collisions are still possible.