Fixed detecting "point" type

PostgreSQL's point type is detected as integer and thus always returns 0.