pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: pgsql-sql@postgresql.org
Subject: CREATE TYPE function examples
Date: Tue, 10 Jul 2001 09:44:59 -0600
Message-ID: <20010710094459.F24104@cc.usu.edu> (raw)

	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!!!!!!!!



view thread (4+ messages)  latest in thread

Message-ID: <20010710094459.F24104@cc.usu.edu>
Permalink:  ../20010710094459.F24104@cc.usu.edu/
Also on:    postgresql.org/message-id/20010710094459.F24104@cc.usu.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rmello@cc.usu.edu
  Subject: Re: CREATE TYPE function examples
  In-Reply-To: <20010710094459.F24104@cc.usu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox