relstorage.adapters.postgresql.locker – Locker implementations

Locker implementations.

class PostgreSQLLocker(options, driver, batcher_factory)[source]

Bases: relstorage.adapters.locker.AbstractLocker

hold_pack_lock(cursor)[source]

Try to acquire the pack lock.

Raise an exception if packing or undo is already in progress.

release_pack_lock(cursor)[source]

Release the pack lock.