silverstripe-australia/advancedworkflow — pull request #149 by PapaBearNZ (2014-03-12 21:34:53+00:00)
Title: #148 Escaped DB refs to support PostgreSQL module.

Escaped reference to SiteTree_versions table, ID and WasPublished fields in getVersionedConnection() method. Fixes the issue #148 causing a Query Failed error in PostgreSQL due to trying to access tables and fields in lower case instead of mixed case.