userdefined types - Mailing list pgsql-general

From Assad Jarrahian
Subject userdefined types
Date
Msg-id 4bd3e1480601082221n1e0e73e1ta5f3d991ef1c643f@mail.gmail.com
Whole thread Raw
Responses Re: userdefined types
List pgsql-general
Hello,
  So I have been reading over the web and it seems that one must
define two methods before declaring a type. But I seem to have done it
(CREATE  TYPE) without creating any functions and it did not give me
an error. I tried to use

INSERT TABLENAME SET user-defined-column = ROW('val1' ,'va2' ...);

and it works. The only problem is when I have ROW( , ,
'values','morevalues', ,'evenmorevalues');

it does not like the commas one after the other (empty value) .... how
do I solve that .... or does this have something to do with those two
methods (in and out) that I overlooked.

any insight would be much appreciated.

-assad

pgsql-general by date:

Previous
From: Benjamin Stookey
Date:
Subject: Re: Functions as a Security Layer
Next
From: "Marc G. Fournier"
Date:
Subject: CRITICAL RELEASE: Minor Releases to Fix DoS Vulnerability