Generalized the ad-hoc reindex test of non-partial indexes with tablespace by moving it to the database stub and refactoring tests.
Removed useless commented code blocks.
Added a reference to PgCookbook.
Fixed a typo.
WIP: Made a lock-friendly REINDEX.
WIP: Made a lock-friendly REINDEX, the process state implementation.
Refactored a little bit of logic.
Made a lock-friendly REINDEX, the final patch.
Added the examples section to the --help output.
Got rid of harcoded connection paramaters for the sake of system and driver defaults.
Allowed processing of postgres and template1 databases.
WIP Solved the several running instances collisions problem, the tables processing part.
WIP Solved the several running instances collisions. Changed the advisory locks keys building.
Renamed the table advisory lock tests.
Renamed the advisory locks related stuff to tables to reflect the "try" behaviour.
Remove redundant tests for the database compactor.
Named the cleaning function with PID.
Rebuilt the advisory lock query in a more convenient form.
Renamed the temporary indexes a more readable way.
Prevented tables from reindexing when locked by another instances.