CREATE TYPE function examples - Mailing list pgsql-sql

From Roberto Mello
Subject CREATE TYPE function examples
Date
Msg-id 20010710094459.F24104@cc.usu.edu
Whole thread Raw
Responses Re: CREATE TYPE function examples  (Peter Eisentraut <peter_e@gmx.net>)
Re: CREATE TYPE function examples  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
I'm looking for some examples of how the functions for CREATE TYPE
should be. There are none in the documentation, so I was hoping to find
someone here that could help me.For example, the documentation has this example:

CREATE TYPE box (INTERNALLENGTH = 8,   INPUT = my_procedure_1, OUTPUT = my_procedure_2); 
What would the functions my_procedure_1 and my_procedure_2 look like?
Thanks,
-Roberto 
-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+ Roberto Mello - Computer Science, USU -
http://www.brasileiro.net      http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
 
YES!!  eh, NO!!! oh, well  MAYBE!!!!!!!!


pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Problems with PG_DUMP and restore
Next
From: Peter Eisentraut
Date:
Subject: Re: CREATE TYPE function examples