Today's best approach to hot swap for Linux is clustering, if all your applications will pay attention to the clustering. The hot swap is at the LAN connector :-)
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных