playframework/Play20 — pull request #136 by jannic (2012-02-19 23:55:09+00:00)
Title: Fix lighthouse bug #136 (Play2's anorm can't work on postgresql)

This patch works around postgresql's behaviour to return the empty string on getTableName().
It calls getBaseTableName() instead if the ResultSetMetaData is a PGResultSetMetaData.

Disadvantage:
- adds a dependency on the postgresql JDBC driver

(bug report: https://play.lighthouseapp.com/projects/82401/tickets/136-play2s-anorm-cant-work-on-postgresql)