Reorganize tables in PostgreSQL databases with minimal locks
