Re: create type problem!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lakshmi S(dot)" <lakshmi(at)uomphysics(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: create type problem!
Date: 2003-04-01 19:10:37
Message-ID: 2328.1049224237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paulo Parola (PostgreSQL) 2003-04-01 19:16:15 unsubscribe
Previous Message Jeff Lu 2003-04-01 18:59:27 error: lost syncronization with server