[HACKERS] problem with variable length user defined type

2009-04-08 Thread kverdecia
Hi,

Some one knows where can I download a full example of a variable length
user defined type? I'm trying to define one but I have problems with de
output function.


Thanks

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] problem with variable length user defined type

2009-04-08 Thread Merlin Moncure
On Wed, Apr 8, 2009 at 3:49 PM, kverdecia kverde...@uci.cu wrote:
 Hi,

 Some one knows where can I download a full example of a variable length
 user defined type? I'm trying to define one but I have problems with de
 output function.

have you looked at contrib? for example hstore?

merlin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] problem with variable length user defined type

2009-04-08 Thread Tom Lane
kverdecia kverde...@uci.cu writes:
 Some one knows where can I download a full example of a variable length
 user defined type?

There are several in the contrib modules.

regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers