Created formula for PostgreSQL JDBC driver.