How to create an abstract data type (ADT) under postgresql / postquel ?

From: "Laurent FALLET" <laurent(dot)fallet(at)insa-rouen(dot)fr>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: How to create an abstract data type (ADT) under postgresql / postquel ?
Date: 2003-11-30 21:03:26
Message-ID: 2260.62.147.156.242.1070226206.squirrel@asi.insa-rouen.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,
I tried to create a new type under PostGreSQL like this :
create type point (input=int,output=int,x=int,y=int)
But I have this error :
ERROR: TypeCreate: function pg_catalog.int4(cstring) does not exist
How can I create an abstract data type? I always have an error due to the
input or output argument.
Thanks a lot if you can help me,
Laurent

--
Laurent FALLET - laurent(dot)fallet(at)insa-rouen(dot)fr
Elève-ingénieur à l'INSA de Rouen - http://asi.insa-rouen.fr/~lfallet/

Browse pgsql-novice by date

  From Date Subject
Next Message Nabil Sayegh 2003-12-01 13:33:23 Migration to version 7.4
Previous Message Peggy Go 2003-11-30 16:40:09 I need help regardin ... postgresql and postgresql++