Creating High Availability Cluster with PostgreSQL
There are many ways to set up an HA cluster for PostgreSQL. Some ways are big and tough.

The easiest method is the following:


sync your db to a standby server 
Install heartbeat and do a asymmetric clustering 


This method is the easiest method to build a HA cluster with graceful degradation  .