postgres provider: fix lookup of aliased columns