Replaced Postgresql 9.1 specific functions with methods supported by older versions. Updated README to reflect this.