Rebuilding database objects ONLINE in PostgreSQL

Over a period of time, any RDBMS, be it an open source or a commercial database, might need a maintenance of its objects. The same is for the Open Source database, PostgreSQL on Linux or any OS. This blog post contains the reasons why we need to rebuild database objects and the ways to rebuild them online.