add Select method to DB type in sqlpg pkg