X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 359DDD1B18E for ; Thu, 17 Jun 2004 08:01:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97119-10 for ; Thu, 17 Jun 2004 11:01:17 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by svr1.postgresql.org (Postfix) with ESMTP id 1E951D1B188 for ; Thu, 17 Jun 2004 08:01:13 -0300 (ADT) Received: from [212.227.126.209] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Baudv-00062E-00 for pgsql-sql@postgresql.org; Thu, 17 Jun 2004 13:01:15 +0200 Received: from [217.225.104.70] (helo=hkorte.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Baudv-0004sY-00 for pgsql-sql@postgresql.org; Thu, 17 Jun 2004 13:01:15 +0200 Message-ID: <40D179F4.3090901@hkorte.com> Date: Thu, 17 Jun 2004 13:01:08 +0200 From: Hannes Korte User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: use of a composite type in CREATE TABLE? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2c03d78a4a4a1175882090b98232ed73 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=RCVD_IN_NJABL, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200406/145 X-Sequence-Number: 18090 Hi, does anyone know how it is posible to set a composite type as the data type of a column when creating a new table? CREATE TABLE tbl1 ( name VARCHAR(60) NOT NULL, address comp_type_address ); The exmaple above does not work. Any help is appreciated. -- Regards, Hannes