How to save your nerves and company money on rebuilding the structure of large tables without downtime in PostgreSQL