"Lakshmi S." <lakshmi(at)uomphysics(dot)net> writes:
> I am trying to create a data type which should be able to store 6 float
> variables in one column. I am unable to figure out how I can write the
> input, output functions that can be used in create type.
Rather than reinventing this wheel, why don't you just use an array?
regards, tom lane