py-sherlock / sherlock

Easy distributed locks for Python with a choice of backends.
MIT License
375 stars 35 forks source link

Add PostgreSQL as backend #43

Open iuridiniz opened 4 years ago

iuridiniz commented 4 years ago

Hi I would like to add postgresql as backend by using Advisory Locks (https://www.postgresql.org/docs/12/explicit-locking.html#ADVISORY-LOCKS)

Can someone point me the how can I do this? Just point me the simplest lock implementation and I will do based on that file