Select.inc is not always imported
Created by: jlfranklin
While running through the tests, it was discovered that the pgsql driver's select.inc file is not always loaded when it is needed. This is necessary for orderby clauses which must include the orderby fields in the select part of a query.