I am trying to create a new type in postgresql but I have tried in vain to get simple example that shows how to
define the "input_function" and "output_function" part of the create type command in postgres.
Can any one write me a simple example going through all the steps involved in creating a ne type.