Received: from web12507.mail.yahoo.com (web12507.mail.yahoo.com [216.136.173.199]) by postgresql.org (8.11.3/8.11.1) with SMTP id f3JITeu26275 for ; Thu, 19 Apr 2001 14:29:40 -0400 (EDT) (envelope-from lonnie_cumberland@yahoo.com) Message-ID: <20010419182938.58520.qmail@web12507.mail.yahoo.com> Received: from [141.217.140.65] by web12507.mail.yahoo.com; Thu, 19 Apr 2001 11:29:38 PDT Date: Thu, 19 Apr 2001 11:29:38 -0700 (PDT) From: Lonnie Cumberland Subject: New Type Internal Length To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200104/86 X-Sequence-Number: 1470 Hello All, I am writing up a new data type forthe project that I am working on and am wondering if someone can tell me if the "internallength" represents the size of my structure in "C" ---------------------------------------------------------------------------- CREATE TYPE complex ( internallength = 16, input = complex_in, output = complex_out ); ---------------------------------------------------------------------------- My "C" structure is composed of two fields: typedef struct test { char a[400]; char b[1300]; } test; the in/out functions are almost the same as the ones in "complex" example. I currently only have one test function but it only returns type "test" and does not receive it in the calling parameters; test *mytest(int4 number, text *something); Cheers, Lonnie __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/