creating type - Mailing list pgsql-general

From rifki
Subject creating type
Date
Msg-id 12608478.1055995405159.JavaMail.root@kolaborasi.comlabs.itb.ac.id
Whole thread Raw
List pgsql-general
Hi there,
i am trying to make a new type for my application. Which happen to be a structure of this kind: <text,timestamp>.
It is said that on creating types, function which convert external form of the type to internal form, and vice versa,
shouldbe created first. I don't get the picture. Can anybody explain to me, especially about the internal form of the
type? What is external form, and what is internal form ? And perhaps, anybody can give an example script of creating
type(s)including one of the INPUT/OUTPUT function? so that i can get the picture better. 

thank you very much,
regards,
rifki
++++++++++++++++++++++++++
+   open mind, open heart, act !  +
++++++++++++++++++++++++++

-------------------------------------------------------------------------------------------
This message was sent using DeskNow Lite - Free mail & collaboration server
http://www.desknow.com

pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: Linux supports hot-swappable hardware? [was Re:
Next
From: Avi Schwartz
Date:
Subject: Can inherited tables help in this case?