Re: create type problem! - Mailing list pgsql-general

From Tom Lane
Subject Re: create type problem!
Date
Msg-id 2328.1049224237@sss.pgh.pa.us
Whole thread Raw
In response to create type problem!  ("Lakshmi S." <lakshmi@uomphysics.net>)
List pgsql-general
"Lakshmi S." <lakshmi@uomphysics.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


pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: hex to decimal and back again
Next
From: "Paulo Parola (PostgreSQL)"
Date:
Subject: unsubscribe