Received: from fslc.ser.usu.edu (fslc.ser.usu.edu [129.123.28.122]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6AFj7a58980 for ; Tue, 10 Jul 2001 11:45:07 -0400 (EDT) (envelope-from rmello@fslc.usu.edu) Received: from rmello by fslc.ser.usu.edu with local (Exim 3.22 #1 (Debian)) id 15Jzh5-0006M4-00 for ; Tue, 10 Jul 2001 09:44:59 -0600 Date: Tue, 10 Jul 2001 09:44:59 -0600 From: Roberto Mello To: pgsql-sql@postgresql.org Subject: CREATE TYPE function examples Message-ID: <20010710094459.F24104@cc.usu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i X-Archive-Number: 200107/106 X-Sequence-Number: 3890 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!!!!!!!!