X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 76424D1E92F for ; Sun, 29 Feb 2004 23:37:03 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 18089-03 for ; Sun, 29 Feb 2004 19:37:04 -0400 (AST) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 5B638D1E8AC for ; Sun, 29 Feb 2004 19:37:01 -0400 (AST) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 1026866; Sun, 29 Feb 2004 15:32:58 -0800 Message-ID: <4042775D.5060007@joeconway.com> Date: Sun, 29 Feb 2004 15:35:57 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yasir Malik Cc: PostgreSQL Subject: Re: Trouble with composite types References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/404 X-Sequence-Number: 17094 Yasir Malik wrote: [attempts to use a composite type as a field data type of another composite type] > When I enter that into the command prompt, I the following message: > ERROR: Attribute "street" has composite type street_type > > Why is it giving me error message for something I know is true? Also, how > do I add a member function to a type? What you are trying to do is currently unsupported. There have been multiple discussions in the past on this -- try searching the archives for more info. Joe