CREATE TYPE function examples

Поиск
Список
Период
Сортировка
От Roberto Mello
Тема CREATE TYPE function examples
Дата
Msg-id 20010710094459.F24104@cc.usu.edu
обсуждение исходный текст
Ответы Re: CREATE TYPE function examples  (Peter Eisentraut <peter_e@gmx.net>)
Re: CREATE TYPE function examples  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Problems with PG_DUMP and restore
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CREATE TYPE function examples