Implicit conversion to Point for SQL queries, example of function definition