| From: | Assad Jarrahian <jarraa(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | userdefined types |
| Date: | 2006-01-09 06:21:16 |
| Message-ID: | 4bd3e1480601082221n1e0e73e1ta5f3d991ef1c643f@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marc G. Fournier | 2006-01-09 06:33:40 | CRITICAL RELEASE: Minor Releases to Fix DoS Vulnerability |
| Previous Message | Benjamin Stookey | 2006-01-09 04:18:31 | Re: Functions as a Security Layer |