dynatable and pg views work