Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D58F51337BD6 for ; Fri, 15 Apr 2011 17:38:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 68715-01-7 for ; Fri, 15 Apr 2011 20:38:00 +0000 (UTC) X-Greylist: delayed 00:07:03.188419 by SQLgrey-1.7.6 Received: from smtp-out-01.xnet.hr (smtp-out-01.xnet.hr [83.139.103.71]) by mail.postgresql.org (Postfix) with ESMTP id 8DE7D1337C21 for ; Fri, 15 Apr 2011 17:37:25 -0300 (ADT) Received: from mail.xnet.hr (cartman.bnet.hr [213.149.32.10]) by smtp-out-01.xnet.hr (XnetMailOut) with ESMTP id 4987B481C4 for ; Fri, 15 Apr 2011 22:30:19 +0200 (CEST) Received: (qmail 22546 invoked from network); 15 Apr 2011 20:30:19 -0000 X-Mail-Scanner: Scanned by qSheff-II-2.1-r3 (http://www.enderunix.org/qsheff/) Received: from cpezg-94-253-146-175-cbl.xnet.hr (HELO [94.253.146.175]) ([94.253.146.175]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 15 Apr 2011 20:30:18 -0000 Message-ID: <4DA8AAD7.9000606@zg.htnet.hr> Date: Fri, 15 Apr 2011 22:30:15 +0200 From: Rikard Pavelic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Tom Lane CC: Merlin Moncure , pgsql-bugs@postgresql.org Subject: Re: BUG #5982: recursive type crashes postgres References: <201104151834.p3FIYSQ0067290@wwwmaster.postgresql.org> <28780.1302894395@sss.pgh.pa.us> In-Reply-To: <28780.1302894395@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/111 X-Sequence-Number: 30030 On 15.4.2011 21:06, Tom Lane wrote: > The former. > > regression=# CREATE TYPE turtle AS > ( > name varchar > ); > CREATE TYPE > regression=# ALTER TYPE turtle ADD ATTRIBUTE offspring turtle; > ERROR: composite type turtle cannot be made a member of itself > regression=# > > regards, tom lane > Todo item?