small code snippet for easy upgrade of postgres to 9.3