PostgreSQL View 6 codes