CommandQuery: Remove select * from joins (Postgres)

refs #5896