add postgresql support part 1

added postgresql.class.php