swh.objstorage.backends.winery.rwshard module#
- class swh.objstorage.backends.winery.rwshard.RWShard(name, application_name=None, **kwargs)[source]#
Bases:
Database
- property lock#
Return an arbitrary unique number for pg_advisory_lock when creating tables
- property name#
- property database_tables#
Return the list of CREATE TABLE statements for all tables in the database