Added in basic postgres formula

Added in basic postgres formula for postgres 9.1.3.